This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: change #if to #ifdef in gthr-win32.h
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: dannysmith at clear dot net dot nz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Jun 2003 00:22:16 -0500
- Subject: Patch: change #if to #ifdef in gthr-win32.h
- Reply-to: gnustuff at thisiscool dot com
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@thisiscool.com>
* gthr-win32.h: changed #if __GTHREAD_HIDE_WIN32API to
#ifdef __GTHREAD_HIDE_WIN32API
Index: gthr-win32.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/gthr-win32.h,v
retrieving revision 1.21
diff -u -2 -r1.21 gthr-win32.h
--- gthr-win32.h 21 May 2003 22:16:03 -0000 1.21
+++ gthr-win32.h 11 Jun 2003 05:37:23 -0000
@@ -366,5 +366,5 @@
}
-#if __GTHREAD_HIDE_WIN32API
+#ifdef __GTHREAD_HIDE_WIN32API
/* The implementations are in config/i386/gthr-win32.c in libgcc.a.