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]

[Fwd: libiberty/pexecute.c patch]


 
Sun Feb  4 21:59:08  2001  Earnie Boyd  <earnie@users.sourceforge.net>

	* libiberty/pexecute.c: Add an earlier test for __CYGWIN__ as _WIN32
	might not be defined.

Index: pexecute.c
===================================================================
RCS file: /cvs/src/src/libiberty/pexecute.c,v
retrieving revision 1.8
diff -u -3 -p -r1.8 pexecute.c
--- pexecute.c	2000/12/08 16:37:01	1.8
+++ pexecute.c	2001/02/05 02:58:00
@@ -238,7 +238,7 @@ pwait (pid, status, flags)
 
 #endif /* MSDOS */
 
-#if defined (_WIN32) && ! defined (_UWIN)
+#if (defined(_WIN32) || defined(__CYGWIN__)) && ! defined (_UWIN)
 
 #include <process.h>
 


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