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

ruby-changes:20509

From: usa <ko1@a...>
Date: Sat, 16 Jul 2011 03:23:02 +0900 (JST)
Subject: [ruby-changes:20509] usa:r32557 (trunk): * win32/win32.c (is_socket, is_console): add prototypes to fix compile

usa	2011-07-16 03:22:42 +0900 (Sat, 16 Jul 2011)

  New Revision: 32557

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

  Log:
    * win32/win32.c (is_socket, is_console): add prototypes to fix compile
      problem with gcc introduced at r32549.

  Modified files:
    trunk/ChangeLog
    trunk/win32/win32.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32556)
+++ ChangeLog	(revision 32557)
@@ -1,3 +1,8 @@
+Sat Jul 16 03:19:45 2011  NAKAMURA Usaku  <usa@r...>
+
+	* win32/win32.c (is_socket, is_console): add prototypes to fix compile
+	  problem with gcc introduced at r32549.
+
 Sat Jul 16 00:55:38 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* time.c (time_dup): used rb_obj_class() instead of CLASS_OF().
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 32556)
+++ win32/win32.c	(revision 32557)
@@ -2074,6 +2074,9 @@
 #define FDEV			0x40	/* file handle refers to device */
 #define FTEXT			0x80	/* file handle is in text mode */
 
+static int is_socket(SOCKET);
+static int is_console(SOCKET);
+
 int
 rb_w32_io_cancelable_p(int fd)
 {

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

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