summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/win32/win32.h b/win32/win32.h
index eb5ecd2971..e2a083434e 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -159,6 +159,11 @@ struct utsname {
# define F_OK 0
#endif
+/* for waitpid() */
+#ifndef WNOHANG
+# define WNOHANG 1
+#endif
+
#define PERL_GET_CONTEXT_DEFINED
/* Compiler-specific stuff. */
@@ -492,9 +497,5 @@ struct interp_intern {
*/
#include "win32iop.h"
-#ifndef WNOHANG
-# define WNOHANG 1
-#endif
-
#endif /* _INC_WIN32_PERL5 */