mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 21:11:19 +08:00
gthr-win32.h: Define NOGDI before windows.h include to prevent w32api CC_NONE macro clash...
* config/i386/gthr-win32.h: Define NOGDI before windows.h include to prevent w32api CC_NONE macro clash with libgfortran. From-SVN: r245835
This commit is contained in:
parent
126437c5da
commit
db9f7f657e
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -545,6 +545,7 @@ __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
|
||||
|
||||
#else /* ! __GTHREAD_HIDE_WIN32API */
|
||||
|
||||
#define NOGDI
|
||||
#include <windows.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user