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

ruby-changes:16866

From: usa <ko1@a...>
Date: Thu, 5 Aug 2010 12:12:14 +0900 (JST)
Subject: [ruby-changes:16866] Ruby:r28861 (ruby_1_8): * ext/socket/socket.c: use _() macro instead of __P(), because the

usa	2010-08-05 12:00:09 +0900 (Thu, 05 Aug 2010)

  New Revision: 28861

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

  Log:
    * ext/socket/socket.c: use _() macro instead of __P(), because the
      former is provided by ruby's defines.h but the latter is offered
      by some systems only by chance.  this fixes build failure with VC.

  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 28860)
+++ ruby_1_8/ext/socket/socket.c	(revision 28861)
@@ -234,7 +234,7 @@
 #endif
 #endif
 
-static int str_isnumber __P((const char *));
+static int str_isnumber _((const char *));
 
 #if defined(__APPLE__)
 /* fix [ruby-core:29427] */
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 28860)
+++ ruby_1_8/ChangeLog	(revision 28861)
@@ -1,3 +1,9 @@
+Thu Aug  5 11:55:17 2010  NAKAMURA Usaku  <usa@r...>
+
+	* ext/socket/socket.c: use _() macro instead of __P(), because the
+	  former is provided by ruby's defines.h but the latter is offered
+	  by some systems only by chance.  this fixes build failure with VC.
+
 Fri Jul 30 17:51:20 2010  NAKAMURA Usaku  <usa@r...>
 
 	* ext/-test-/add_suffix/bug.c: typo.

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

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