summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 00:23:28 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 00:23:28 +0000
commitda6c57aa54182447491d2650269e3ba98437ef86 (patch)
tree7a3b46286098d753bfdcf24586a7f534faa587ec /include/ruby/missing.h
parentcfb37052cb1194d1b972cb7f07975846d1144f12 (diff)
See __APPLE__ for __syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 5309fe94661..bded5521d1d 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