This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
-#ifndef __gthr_win32_h
-#define __gthr_win32_h
+#ifndef GCC_GTHR_WIN32_H
+#define GCC_GTHR_WIN32_H
/* Windows32 threads specific definitions. The windows32 threading model
does not map well into pthread-inspired gcc's threading model, and so
#define __GTHREADS 1
#include <windows.h>
+#include <errno.h>
+#ifdef __MINGW32__
+#include <_mingw.h>
+#endif
#ifdef _LIBOBJC
#endif /* _LIBOBJC */
-#endif /* not __gthr_win32_h */
+#endif /* ! GCC_GTHR_WIN32_H */