Commit f2e13171 by Doug Evans

* pexecute.c: Update test for win32 (&& ! cygwin32).

From-SVN: r12656
parent a7521e65
...@@ -217,7 +217,7 @@ pwait (pid, status, flags) ...@@ -217,7 +217,7 @@ pwait (pid, status, flags)
#endif /* MSDOS */ #endif /* MSDOS */
#ifdef _WIN32 #if defined (_WIN32) && !defined (__CYGWIN32__)
#include <process.h> #include <process.h>
/* ??? Why are these __spawnv{,p} and not _spawnv{,p}? */ /* ??? Why are these __spawnv{,p} and not _spawnv{,p}? */
...@@ -440,8 +440,9 @@ pfinish () ...@@ -440,8 +440,9 @@ pfinish ()
#endif /* MPW */ #endif /* MPW */
#if ! defined (__MSDOS__) && ! defined (_WIN32) && ! defined (OS2) \ /* include for Unix-like environments but not for Dos-like environments */
&& ! defined (MPW) #if ! defined (__MSDOS__) && ! defined (OS2) && ! defined (MPW) \
&& (defined (__CYGWIN32__) || ! defined (_WIN32))
#ifdef USG #ifdef USG
#define vfork fork #define vfork fork
...@@ -578,4 +579,4 @@ pwait (pid, status, flags) ...@@ -578,4 +579,4 @@ pwait (pid, status, flags)
return pid; return pid;
} }
#endif /* !MSDOS && !WIN32 && !OS2 && !MPW */ #endif /* ! __MSDOS__ && ! OS2 && ! MPW && (__CYGWIN32___ || ! _WIN32) */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment