diff options
-rw-r--r-- | mjit.c | 5 | ||||
-rw-r--r-- | vm_core.h | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -422,8 +422,9 @@ exec_process(const char *path, char *const argv[]) : waitpid(pid, &stat, 0); if (r == -1) { if (errno == EINTR) continue; - fprintf(stderr, "[%d] waitpid(%d): %s\n", - getpid(), pid, strerror(errno)); + fprintf(stderr, "[%d] waitpid(%d): %s (SIGCHLD=%d,%u)\n", + getpid(), pid, strerror(errno), + RUBY_SIGCHLD, SIGCHLD_LOSSY); break; } else if (r == pid) { @@ -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) |