summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-30 03:50:52 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-30 03:50:52 +0000
commite4600b87b5a13412fc8f46da22d4f224732e6769 (patch)
tree10626770c82d0d16068434bfed0b5c8069b3de89 /vm_core.h
parentce2a3b40ed06a25e9292dd7d02b311510d0ba8e2 (diff)
mjit: provide more diagnostics for waitpid failures
Also, enable check for defined(_WIN32) macro for SIGCHLD_LOSSY, too. [Bug #14867] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 9db99fe03b..cf2dde01b1 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -101,7 +101,7 @@
#endif
/* platforms with broken or non-existent SIGCHLD work by polling */
-#if defined(__APPLE__) || defined(__WIN32__)
+#if defined(__APPLE__) || defined(__WIN32__) || defined(_WIN32)
# define SIGCHLD_LOSSY (1)
#else
# define SIGCHLD_LOSSY (0)