summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index d610931b2e..0330611aed 100644
--- a/process.c
+++ b/process.c
@@ -72,7 +72,7 @@ static VALUE S_Tms;
#define WSTOPSIG WEXITSTATUS
#endif
-#if defined(__APPLE__) && defined(__MACH__) && !defined(__MacOS_X__)
+#if defined(__APPLE__) && ( defined(__MACH__) || defined(__DARWIN__) ) && !defined(__MacOS_X__)
#define __MacOS_X__ 1
#endif