summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/vm_core.h b/vm_core.h
index 7cdd40671d..f0f393e497 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -132,18 +132,9 @@ extern int ruby_assert_critical_section_entered;
#define RUBY_NSIG NSIG
#if defined(SIGCLD)
-# define RUBY_SIGCHLD (SIGCLD)
+# define RUBY_SIGCHLD (SIGCLD)
#elif defined(SIGCHLD)
-# define RUBY_SIGCHLD (SIGCHLD)
-#else
-# define RUBY_SIGCHLD (0)
-#endif
-
-/* platforms with broken or non-existent SIGCHLD work by polling */
-#if defined(__APPLE__)
-# define SIGCHLD_LOSSY (1)
-#else
-# define SIGCHLD_LOSSY (0)
+# define RUBY_SIGCHLD (SIGCHLD)
#endif
#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO) && !defined(__NetBSD__)