gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...

* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32.

From-SVN: r39187
This commit is contained in:
Thomas Pfaff 2001-01-22 21:29:53 +00:00 committed by DJ Delorie
parent 586964a732
commit 5dab7f92ce
2 changed files with 9 additions and 0 deletions

View 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> 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
* cpp.texi: Correct typos. * cpp.texi: Correct typos.

View File

@ -65,6 +65,10 @@ Boston, MA 02111-1307, USA. */
#define __GTHREADS 1 #define __GTHREADS 1
#include <windows.h> #include <windows.h>
#include <errno.h>
#ifdef __MINGW32__
#include <_mingw.h>
#endif
#ifdef _LIBOBJC #ifdef _LIBOBJC