ruby-changes:20667
From: naruse <ko1@a...>
Date: Thu, 28 Jul 2011 09:23:37 +0900 (JST)
Subject: [ruby-changes:20667] naruse:r32715 (trunk): See __APPLE__ for __syscall.
naruse 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) New Revision: 32715 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32715 Log: See __APPLE__ for __syscall. Modified files: trunk/include/ruby/missing.h Index: include/ruby/missing.h =================================================================== --- include/ruby/missing.h (revision 32714) +++ include/ruby/missing.h (revision 32715) @@ -51,7 +51,7 @@ }; #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/