From 5a7a4ce48df6390fcc96a7a6030ce2b0095ad141 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 15 Jul 2011 18:22:42 +0000 Subject: * win32/win32.c (is_socket, is_console): add prototypes to fix compile problem with gcc introduced at r32549. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32') diff --git a/win32/win32.c b/win32/win32.c index 7ec83d9221..6cadc1e96d 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2074,6 +2074,9 @@ set_pioinfo_extra(void) #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) { -- cgit v1.2.3