From da6c57aa54182447491d2650269e3ba98437ef86 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 28 Jul 2011 00:23:28 +0000 Subject: See __APPLE__ for __syscall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/missing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby') 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 -- cgit v1.2.3