This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


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

libiberty/pexecute.c patch


Let me know if I need to send this elsewhere.

Earnie.
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]