在 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 <winapifamily.h> for more information. > +typedef enum _WSL_DISTRIBUTION_FLAGS This enum tag doesn't seem to exist in the Microsoft header. -- Best regards, LH_Mouse _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public