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]
Other format: [Raw text]

Re: Patch: change #if to #ifdef in gthr-win32.h


----- Original Message -----
From: "Mohan Embar" <gnustuff@...>


> Danny,
>
> I can't bootstrap a MingW32 3.4 compiler under Linux
> using gcc 3.2 20020903 unless I change #if to #ifdef
> in the following patch. Does this seem okay?
>
> -- Mohan
> http://www.thisiscool.com/
> http://www.animalsong.org/
>
> ChangeLog
> 2003-06-29  Mohan Embar  <gnustuff@....>
>
> * gthr-win32.h: changed #if __GTHREAD_HIDE_WIN32API to
> #ifdef __GTHREAD_HIDE_WIN32API
>


No, the patch to  grthr-win32.c, submitted by Aaron W. LaFramboise
http://gcc.gnu.org/ml/gcc-patches/2003-06/msg03116.html

does the right thing and fixes the regression.  I inadvertantanyly
failed to check in my changes to gthr-win32.c when committed my
2003-05-21 patch to gthr-win32.h and to mingw's os_defines.h in
libstdc++.  Aaron's patch corrects that.

(Chris, I just noticed however, that the ChangeLog entry for Aaron's
patch is wrong: it refers to config/i386/mingw32.h)

We want
#define __GTHREAD_HIDE_WIN32API 0
to be meaningful so that users can still overide the default when
compiling C++ code.

Danny


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