summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 00:33:14 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 00:33:14 +0000
commit02345202cad585f0750e3f3c022a377d61f57cc5 (patch)
tree898252bf16d29589030064166904a9614783cad5
parente83748fd559d580bd8b213a4d20a1059176bc0d2 (diff)
merge revision(s) 32715:
------------------------------------------------------------------------ r32715 | naruse | 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) | 1 line See __APPLE__ for __syscall. ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 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