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

ruby-changes:14383

From: usa <ko1@a...>
Date: Thu, 31 Dec 2009 18:17:39 +0900 (JST)
Subject: [ruby-changes:14383] Ruby:r26213 (ruby_1_8): * ext/socket/socket.c: include addrinfo.h only when using our own

usa	2009-12-31 18:17:27 +0900 (Thu, 31 Dec 2009)

  New Revision: 26213

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

  Log:
    * ext/socket/socket.c: include addrinfo.h only when using our own
      getaddrinfo.c.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/socket/socket.c

Index: ruby_1_8/ext/socket/socket.c
===================================================================
--- ruby_1_8/ext/socket/socket.c	(revision 26212)
+++ ruby_1_8/ext/socket/socket.c	(revision 26213)
@@ -69,7 +69,9 @@
 #ifndef EWOULDBLOCK
 #define EWOULDBLOCK EAGAIN
 #endif
+#ifndef HAVE_GETADDRINFO
 #include "addrinfo.h"
+#endif
 #include "sockport.h"
 
 #if defined(__vms)
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 26212)
+++ ruby_1_8/ChangeLog	(revision 26213)
@@ -1,3 +1,8 @@
+Thu Dec 31 18:16:51 2009  NAKAMURA Usaku  <usa@r...>
+
+	* ext/socket/socket.c: include addrinfo.h only when using our own
+	  getaddrinfo.c.
+
 Thu Dec 31 05:56:38 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/socket/extconf.rb: fix for wide-getaddrinfo option.

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

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