This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
libiberty/pexecute.c patch
- To: Earnie Boyd <cygwin-developers at cygwin dot com>
- Subject: libiberty/pexecute.c patch
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Sun, 04 Feb 2001 22:09:39 -0500
- Reply-To: Earnie Boyd <cygwin-developers at cygwin dot com>
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>