This replaces the include style for rpc.h and rpcndr.h inside the wtypes.h
header. I found this issue when trying to compile my WindowsNfs project
found here: https://github.com/marler8997/WindowsNfs.  This project
contains a file named "Rpc.h".  This broke the mingw header files because
wtypes.h ends up including my file instead of the one in the toolchain.  I
also verified that if I had a file named rpcndr.h in my project then the
same issue occurred.  By changing these 2 lines to use #include "...",
projects can have files named rpc.h and rpcndr.h and include <windows.h>
without breaking the headers.

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

Reply via email to