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

ruby-changes:27131

From: akr <ko1@a...>
Date: Sun, 10 Feb 2013 12:35:15 +0900 (JST)
Subject: [ruby-changes:27131] akr:r39183 (trunk): add comments.

akr	2013-02-10 12:29:37 +0900 (Sun, 10 Feb 2013)

  New Revision: 39183

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

  Log:
    add comments.

  Modified files:
    trunk/ext/socket/extconf.rb

Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 39182)
+++ ext/socket/extconf.rb	(revision 39183)
@@ -114,20 +114,20 @@ EOS https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L114
 end
 
 if have_struct_member("struct sockaddr_in", "sin_len", headers)
-  $defs[-1] = "-DHAVE_SIN_LEN"
+  $defs[-1] = "-DHAVE_SIN_LEN" # change from -DHAVE_ST_SIN_LEN.
 end
 
 #   doug's fix, NOW add -Dss_family... only if required!
 doug = proc {have_struct_member("struct sockaddr_storage", "ss_family", headers)}
 if (doug[] or
     with_cppflags($CPPFLAGS + " -Dss_family=__ss_family", &doug))
-  $defs[-1] = "-DHAVE_SOCKADDR_STORAGE"
+  $defs[-1] = "-DHAVE_SOCKADDR_STORAGE" # change from -DHAVE_ST_SS_FAMILY.
   doug = proc {have_struct_member("struct sockaddr_storage", "ss_len", headers)}
   doug[] or with_cppflags($CPPFLAGS + " -Dss_len=__ss_len", &doug)
 end
 
 if have_struct_member("struct sockaddr", "sa_len", headers)
-  $defs[-1] = "-DHAVE_SA_LEN "
+  $defs[-1] = "-DHAVE_SA_LEN " # change from -DHAVE_ST_SA_LEN.
 end
 
 if !have_macro("IPPROTO_IPV6", headers) && have_const("IPPROTO_IPV6", headers)

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

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