* config/i386/gthr-win32.h: Define NOGDI before
windows.h include to prevent w32api CC_NONE macro
clash with libgfortran.
From-SVN: r245835
+2017-03-02 Jonathan Yong <10walls@gmail.com>
+
+ * config/i386/gthr-win32.h: Define NOGDI before
+ windows.h include to prevent w32api CC_NONE macro
+ clash with libgfortran.
+
2017-03-02 Jonathan Yong <10walls@gmail.com>
* unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
#else /* ! __GTHREAD_HIDE_WIN32API */
+#define NOGDI
#include <windows.h>
#include <errno.h>