1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/missing.h: define __syscall on OpenBSD as r32702.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-08-04 02:32:19 +00:00
parent e9ddb1a1f9
commit d04697df88
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Thu Aug 4 11:30:36 2011 NARUSE, Yui <naruse@ruby-lang.org>
* include/ruby/missing.h: define __syscall on OpenBSD as r32702.
Thu Aug 4 03:02:54 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* tool/rbinstall.rb: use rubygems to load gemspecs, copy actual

View file

@ -51,8 +51,8 @@ struct timezone {
};
#endif
#if defined(HAVE___SYSCALL) && defined(__APPLE__)
/* Mac OS X has __syscall but doen't defined in headers */
#if defined(HAVE___SYSCALL) && (defined(__APPLE__) || defined(__OpenBSD__))
/* Mac OS X and OpenBSD has __syscall but doen't defined in headers */
off_t __syscall(quad_t number, ...);
#endif