From c1c4b6b501388ab8e556b6ced4a4822bdbb70249 Mon Sep 17 00:00:00 2001 From: nagai Date: Sun, 3 Aug 2003 02:55:52 +0000 Subject: [PATCH] * 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 --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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