diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-28 00:23:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-28 00:23:28 +0000 |
commit | da6c57aa54182447491d2650269e3ba98437ef86 (patch) | |
tree | 7a3b46286098d753bfdcf24586a7f534faa587ec | |
parent | cfb37052cb1194d1b972cb7f07975846d1144f12 (diff) |
See __APPLE__ for __syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | include/ruby/missing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h index 5309fe9466..bded5521d1 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -51,7 +51,7 @@ struct timezone { }; #endif -#if defined(HAVE___SYSCALL) && !defined(__syscall) +#if defined(HAVE___SYSCALL) && defined(__APPLE__) /* Mac OS X has __syscall but doen't defined in headers */ off_t __syscall(quad_t number, ...); #endif |