libiberty/pexecute.c patch
Earnie Boyd
earnie_boyd@yahoo.com
Sun Feb 4 19:09:00 GMT 2001
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>
More information about the Cygwin-developers
mailing list