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

ruby-changes:27941

From: nobu <ko1@a...>
Date: Fri, 29 Mar 2013 10:25:42 +0900 (JST)
Subject: [ruby-changes:27941] nobu:r39993 (trunk): ruby/io.h: get rid of conflict on AIX

nobu	2013-03-29 10:24:14 +0900 (Fri, 29 Mar 2013)

  New Revision: 39993

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

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/io.h

Index: include/ruby/io.h
===================================================================
--- include/ruby/io.h	(revision 39992)
+++ include/ruby/io.h	(revision 39993)
@@ -37,6 +37,8 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/io.h#L37
 #  ifdef _AIX
 #    undef reqevents
 #    undef rtnevents
+#    undef events
+#    undef revents
 #  endif
 #  define RB_WAITFD_IN  POLLIN
 #  define RB_WAITFD_PRI POLLPRI
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39992)
+++ ChangeLog	(revision 39993)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Mar 29 10:24:10 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@f...>
 
 	* numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via

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

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