diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-15 18:22:42 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-15 18:22:42 +0000 |
commit | 5a7a4ce48df6390fcc96a7a6030ce2b0095ad141 (patch) | |
tree | 03606cc8cb3476197983629d7f4cc303c1389793 /win32 | |
parent | 6125467117b48c99f9ad688bb6547ca597027009 (diff) | |
download | ruby-5a7a4ce48df6390fcc96a7a6030ce2b0095ad141.tar.gz |
* 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |