Fix bug #12327 with SIGCHLD handling on Windows and some other systems.
[bpt/emacs.git] / src / process.c
index 3a6615f..9ab8d27 100644 (file)
@@ -6518,9 +6518,9 @@ record_child_status_change (void)
 #if (defined WINDOWSNT \
      || (defined USG && !defined GNU_LINUX \
         && !(defined HPUX && defined WNOHANG)))
-enum { CAN_HANDLE_MULTIPLE_CHILDREN = 1 };
-#else
 enum { CAN_HANDLE_MULTIPLE_CHILDREN = 0 };
+#else
+enum { CAN_HANDLE_MULTIPLE_CHILDREN = 1 };
 #endif
 
 static void