mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby/io.h: get rid of conflict on AIX
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no longer needed. patch suggested by edelsohn (David Edelsohn) in [ruby-core:53815]. [Bug #8174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0cfc4866d4
commit
cea3a73f19
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Mar 29 10:24:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no
|
||||||
|
longer needed. patch suggested by edelsohn (David Edelsohn) in
|
||||||
|
[ruby-core:53815]. [Bug #8174]
|
||||||
|
|
||||||
Fri Mar 29 06:39:42 2013 Tanaka Akira <akr@fsij.org>
|
Fri Mar 29 06:39:42 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via
|
* numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via
|
||||||
|
|
|
@ -37,6 +37,8 @@ extern "C" {
|
||||||
# ifdef _AIX
|
# ifdef _AIX
|
||||||
# undef reqevents
|
# undef reqevents
|
||||||
# undef rtnevents
|
# undef rtnevents
|
||||||
|
# undef events
|
||||||
|
# undef revents
|
||||||
# endif
|
# endif
|
||||||
# define RB_WAITFD_IN POLLIN
|
# define RB_WAITFD_IN POLLIN
|
||||||
# define RB_WAITFD_PRI POLLPRI
|
# define RB_WAITFD_PRI POLLPRI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue