summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-08-17 01:22:21 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-08-17 01:22:21 +0000
commitcc236deb7d22d66074bf369285822a8fae4bb842 (patch)
tree369774cb2033015ee2f43512f01303cd05251f0e
parent28c9223b564ff650c8709817b1dcc1688395f556 (diff)
downloadperl-cc236deb7d22d66074bf369285822a8fae4bb842.tar.gz
move WNOHANG definition to where other such things are
p4raw-id: //depot/perl@6670
-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 */