This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gthr-win32.h patch


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
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]