在 2019/10/18 17:22, Tomáš Golembiovský 写道:
> Signed-off-by: Tomáš Golembiovský <[email protected]>
> ---
>  mingw-w64-headers/include/devpkey.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> 

I noticed that both headers from WinSDK have `#include <devpropdef.h>`,
which doesn't exist in our ones and causes errors like follows:

```
mingw-w64-headers/include/devpkey.h:3:32: error: expected ')' before
numeric constant
    3 | DEFINE_DEVPROPKEY(DEVPKEY_NAME,
0xb725f130,0x47ef,0x101a,0xa5,0xf1,0x02,0x60,0x8c,0x9e,0xeb,0xac, 10);
      |                                ^~~~~~~~~~~
      |                                )
```

I have added these includes and both headers can be compiled without
extra includes other than <windows.h> now.

Thanks. I pushed these patches.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to