projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586964a
)
gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...
author
Thomas Pfaff
<tpfaff@gmx.net>
Mon, 22 Jan 2001 21:29:53 +0000
(21:29 +0000)
committer
DJ Delorie
<dj@gcc.gnu.org>
Mon, 22 Jan 2001 21:29:53 +0000
(16:29 -0500)
* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32.
From-SVN: r39187
gcc/ChangeLog
patch
|
blob
|
history
gcc/gthr-win32.h
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 27d7978202bba418e55662925d094f39b6b37249..5e2f57d45a4277e7a2592df81a374fd4fbf713eb 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/gthr-win32.h
b/gcc/gthr-win32.h
index dbe5e5b4f346dfe8d88518a3bb186de04734b422..7b991385c81443398a1e710c439cf2cb26d097fb 100644
(file)
--- a/
gcc/gthr-win32.h
+++ b/
gcc/gthr-win32.h
@@
-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