Re: [Mingw-w64-public] [PATCH 1/2] include/usbioctl.h: Add required headers for `__C89_NAMELESS` and Windows data types.

2018-01-29 Thread Liu Hao
On 2018/1/29 19:00, Kai Tietz via Mingw-w64-public wrote: > 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. Hmm I added <_mingw_mac.h> for `__C89_NAM

Re: [Mingw-w64-public] [PATCH 2/2] include/usbspec.h: Update to newest.

2018-01-29 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-01-29 11:52 GMT+01:00 Liu Hao : > On 2018/1/29 18:37, Liu Hao wrote: >> The definitions of `struct _USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR` >> and `typedef struct >> _USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR` got moved >> upwards to match their orig

Re: [Mingw-w64-public] [PATCH 1/2] include/usbioctl.h: Add required headers for `__C89_NAMELESS` and Windows data types.

2018-01-29 Thread Kai Tietz via Mingw-w64-public
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 : > This caused trouble whe

Re: [Mingw-w64-public] [PATCH 2/2] include/usbspec.h: Update to newest.

2018-01-29 Thread Liu Hao
On 2018/1/29 18:37, Liu Hao wrote: > The definitions of `struct _USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR` > and `typedef struct > _USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR` got moved > upwards to match their original order in from Win10 SDK > 10.0.16299. > Sorry the second patc

[Mingw-w64-public] [PATCH 1/2] include/usbioctl.h: Add required headers for `__C89_NAMELESS` and Windows data types.

2018-01-29 Thread Liu Hao
This caused trouble when was included after . Reference: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/usbioctl/ne-usbioctl-_usb_connection_status Signed-off-by: Liu Hao -- Best regards, LH_Mouse From 15bc66f90d5c510c8f85e6da77078670b11ab8d0 Mon Sep 17 00:00:00 2001 Fr

[Mingw-w64-public] [PATCH 2/2] include/usbspec.h: Update to newest.

2018-01-29 Thread Liu Hao
The definitions of `struct _USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR` and `typedef struct _USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR` got moved upwards to match their original order in from Win10 SDK 10.0.16299. -- Best regards, LH_Mouse --