summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-03 02:55:52 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-03 02:55:52 +0000
commitc1c4b6b501388ab8e556b6ced4a4822bdbb70249 (patch)
tree72fe631761de604b41deb28b69a432ed98484596
parenta144ffe53f0293bc087a741484489aa426ab7989 (diff)
* modify macro to detect 'MacOS X' based on [ruby-talk:77849]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index d610931..0330611 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