This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move WNOHANG definition to where other such things are
authorGurusamy Sarathy <gsar@cpan.org>
Thu, 17 Aug 2000 01:22:21 +0000 (01:22 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Thu, 17 Aug 2000 01:22:21 +0000 (01:22 +0000)
p4raw-id: //depot/perl@6670

win32/win32.h

index eb5ecd2..e2a0834 100644 (file)
@@ -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 */