Applied to trunk, tested with x86_64-w64-mingw32.
Changelog:
2017-03-02 Jonathan Yong <[email protected]>
* config/i386/gthr-win32.h: Define NOGDI before
windows.h include to prevent w32api CC_NONE macro
clash with libgfortran.
--- trunk/libgcc/config/i386/gthr-win32.h 2017/03/02 11:00:28 245834
+++ trunk/libgcc/config/i386/gthr-win32.h 2017/03/02 11:03:23 245835
@@ -545,6 +545,7 @@
#else /* ! __GTHREAD_HIDE_WIN32API */
+#define NOGDI
#include <windows.h>
#include <errno.h>
signature.asc
Description: OpenPGP digital signature
