Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-16 Thread Liu Hao
在 2019/3/16 21:45, Biswapriyo Nath 写道: > Here it is. > Thanks, pushed this one. > On Saturday, March 16, 2019, Liu Hao > wrote: >> 在 2019/3/16 17:07, Biswapriyo Nath 写道: >>> I've tested this header file with gcc as you've said. >>> >>> >>> >> >>> +#if WINAPI_FAMILY_PART

Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-16 Thread Biswapriyo Nath
Here it is. On Saturday, March 16, 2019, Liu Hao wrote: > 在 2019/3/16 17:07, Biswapriyo Nath 写道: >> I've tested this header file with gcc as you've said. >> >> >> > >> +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SERVER) > > `WINAPI_PARTITION_SERVER` is not supported b

Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-16 Thread Liu Hao
在 2019/3/16 17:07, Biswapriyo Nath 写道: > I've tested this header file with gcc as you've said. > > > > +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | > WINAPI_PARTITION_SERVER) `WINAPI_PARTITION_SERVER` is not supported by mingw-w64 and should be deleted. See for more information.

Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-16 Thread Biswapriyo Nath
I've tested this header file with gcc as you've said. From 9771232de0197253d9061d4d3de9bad029c444ec Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 16 Mar 2019 14:34:18 +0530 Subject: [PATCH] include/wslapi.h: Add wslapi header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers

Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-14 Thread Biswapriyo Nath
Thank you for showing the right direction. I shall remember this. By the way, I have not copy-paste the whole file. On Thursday, March 14, 2019, Liu Hao wrote: > 在 2019/3/15 0:18, Biswapriyo Nath 写道: >> Should I edit the include headers? I've copied from Windows SDK. >> >> >> > > Please do not co

Re: [Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-14 Thread Liu Hao
在 2019/3/15 0:18, Biswapriyo Nath 写道: > Should I edit the include headers? I've copied from Windows SDK. > > > Please do not copy headers from Windows SDKs. Doing this might violate Microsoft licenses, and some of their code might not compile with GCC. Before submitting a patch, make sure the h

[Mingw-w64-public] [PATCH] include/wslapi.h: Add wslapi header file

2019-03-14 Thread Biswapriyo Nath
Should I edit the include headers? I've copied from Windows SDK. From d952747ce2adfdd411d4a3a872d82fa3bb8aa60f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 14 Mar 2019 21:29:14 +0530 Subject: [PATCH] include/wslapi.h: Add wslapi header file Signed-off-by: Biswapriyo Nath --- mingw-