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 | |
| parent | 6125467117b48c99f9ad688bb6547ca597027009 (diff) | |
* 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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | win32/win32.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Jul 16 03:19:45 2011 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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@gmail.com> * time.c (time_dup): used rb_obj_class() instead of CLASS_OF(). 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) { |
