mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3eb7d2b33e
commit
9f2b8eafdd
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Jul 27 17:55:54 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* 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@segment7.net>
|
||||
|
||||
* object.c: Add usage documentation for BasicObject. Based on patch
|
||||
|
|
|
@ -51,6 +51,11 @@ struct timezone {
|
|||
};
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue