This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gthr-win32.h patch
- To: gcc-patches at gcc dot gnu dot org <gcc-patches at gcc dot gnu dot org>
- Subject: gthr-win32.h patch
- From: Thomas Pfaff <tpfaff at gmx dot net>
- Date: Mon, 22 Jan 2001 16:08:51 +0100 (MET)
Changelog
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.
The later seems not to be neccessary but it is from Mumit Khans latest patch
for gcc-2.95.2, so i would keep it in the source.
Thomas
--
Sent through GMX FreeMail - http://www.gmx.net
*** gthr-win32.org Fri Jan 12 08:37:31 2001
--- gthr-win32.h Mon Jan 22 09:09:36 2001
*************** Boston, MA 02111-1307, USA. */
*** 65,70 ****
--- 65,74 ----
#define __GTHREADS 1
#include <windows.h>
+ #include <errno.h>
+ #ifdef __MINGW32__
+ #include <_mingw.h>
+ #endif
#ifdef _LIBOBJC