[前][次][番号順一覧][スレッド一覧]

ruby-changes:20656

From: naruse <ko1@a...>
Date: Wed, 27 Jul 2011 18:00:26 +0900 (JST)
Subject: [ruby-changes:20656] naruse:r32704 (ruby_1_9_3): merge revision(s) 32702:

naruse	2011-07-27 17:59:51 +0900 (Wed, 27 Jul 2011)

  New Revision: 32704

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32704

  Log:
    merge revision(s) 32702:
    
    * include/ruby/missing.h: define __syscall if the platform has
      __syscall in the library but doesn't define it in headers
      for example Mac OS X.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/include/ruby/missing.h

Index: ruby_1_9_3/include/ruby/missing.h
===================================================================
--- ruby_1_9_3/include/ruby/missing.h	(revision 32703)
+++ ruby_1_9_3/include/ruby/missing.h	(revision 32704)
@@ -51,6 +51,11 @@
 };
 #endif
 
+#if defined(HAVE___SYSCALL) && !defined(__syscall)
+/* Mac OS X has __syscall but doen't defined in headers */
+off_t __syscall(quad_t number, ...);
+#endif
+
 #ifdef RUBY_EXPORT
 #undef RUBY_EXTERN
 #endif
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 32703)
+++ ruby_1_9_3/ChangeLog	(revision 32704)
@@ -1,3 +1,9 @@
+Wed Jul 27 17:59:46 2011  NARUSE, Yui  <naruse@r...>
+
+	* include/ruby/missing.h: define __syscall if the platform has
+	  __syscall in the library but doesn't define it in headers
+	  for example Mac OS X.
+
 Wed Jul 27 15:39:14 2011  Eric Hodel  <drbrain@s...>
 
 	* object.c:  Add usage documentation for BasicObject.  Based on patch

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]