OSDN Git Service

* flow.c (find_unreachable_blocks): New function.
[pf3gnuchains/gcc-fork.git] / gcc / gthr-win32.h
index dbe5e5b..f1feb57 100644 (file)
@@ -27,8 +27,8 @@ Boston, MA 02111-1307, USA.  */
    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 
@@ -65,6 +65,10 @@ Boston, MA 02111-1307, USA.  */
 #define __GTHREADS 1
 
 #include <windows.h>
+#include <errno.h>
+#ifdef __MINGW32__
+#include <_mingw.h>
+#endif
 
 #ifdef _LIBOBJC
 
@@ -488,5 +492,5 @@ __gthread_mutex_unlock (__gthread_mutex_t *mutex)
 
 #endif /* _LIBOBJC */
 
-#endif /* not __gthr_win32_h */
+#endif /* ! GCC_GTHR_WIN32_H */