From 2dad3d492d53d93738654b9c4335ca5333c278a6 Mon Sep 17 00:00:00 2001 From: nagai Date: Sun, 3 Aug 2003 02:55:52 +0000 Subject: * modify macro to detect 'MacOS X' based on [ruby-talk:77849] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process.c') diff --git a/process.c b/process.c index d610931b2..0330611ae 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 -- cgit