summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-29 01:24:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-29 01:24:14 +0000
commitcea3a73f19c2f6124dbf04af6c8160d872d19bfc (patch)
tree24d2e424c7c713f8ae40a6bc94320b0fb6fc133e /include/ruby
parent0cfc4866d4eb7f16e650ab3262515c02fc6725ab (diff)
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
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index f341befefe..b5ea2e9c95 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -37,6 +37,8 @@ extern "C" {
# ifdef _AIX
# undef reqevents
# undef rtnevents
+# undef events
+# undef revents
# endif
# define RB_WAITFD_IN POLLIN
# define RB_WAITFD_PRI POLLPRI