Skip to content

Commit

Permalink
* modify macro to detect 'MacOS X' based on [ruby-talk:77849]
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagai committed Aug 3, 2003
1 parent a144ffe commit c1c4b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c1c4b6b

Please sign in to comment.