Hey,

why you include _mingw_mac.h before including minwindef.h ? This seems
to be superflous.  The header mingwindef.h includes already _mingw.h,
which includes for sure _mingw_mac.h too.

Te patch is ok with that change.

Thanks,
Kai

2018-01-29 11:36 GMT+01:00 Liu Hao <[email protected]>:
> This caused trouble when <usbioctl.h> was included after <windows.h>.
>
> Reference:
> https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/usbioctl/ne-usbioctl-_usb_connection_status
> Signed-off-by: Liu Hao <[email protected]>
>
>
> --
> Best regards,
> LH_Mouse
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to