OSDN Git Service

* gthr-win32.h: Include errno.h to get a declaration for
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jan 2001 21:29:53 +0000 (21:29 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jan 2001 21:29:53 +0000 (21:29 +0000)
EINVAL and _mingw.h if the target is mingw32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39187 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gthr-win32.h

index 27d7978..5e2f57d 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
+
+       * gthr-win32.h: Include errno.h to get a declaration for
+       EINVAL and _mingw.h if the target is mingw32.
+
 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
 
        * cpp.texi: Correct typos.
index dbe5e5b..7b99138 100644 (file)
@@ -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