This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cygwin32 update (untested adaptation of patch against 5.005_03)
[perl5.git] / pp_sys.c
index 9cfb67f..a2c0b4c 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3510,7 +3510,7 @@ PP(pp_fork)
 
 PP(pp_wait)
 {
-#if !defined(DOSISH) || defined(OS2) || defined(WIN32)
+#if !defined(DOSISH) || defined(OS2) || defined(WIN32) || defined(CYGWIN32)
     djSP; dTARGET;
     Pid_t childpid;
     int argflags;
@@ -3526,7 +3526,7 @@ PP(pp_wait)
 
 PP(pp_waitpid)
 {
-#if !defined(DOSISH) || defined(OS2) || defined(WIN32)
+#if !defined(DOSISH) || defined(OS2) || defined(WIN32) || defined(CYGWIN32)
     djSP; dTARGET;
     Pid_t childpid;
     int optype;