Skip to content

Commit

Permalink
fix a compilation warning in ext/socket
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed May 25, 2011
1 parent a9c7e27 commit f76bf69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/socket/socket.c
Expand Up @@ -223,6 +223,7 @@ ruby_getnameinfo__aix(sa, salen, host, hostlen, serv, servlen, flags)
#define close closesocket
#endif

#undef GetOpenFile
#define GetOpenFile(obj, fp) rb_io_check_closed(fp = ExtractIOStruct(obj))

#define MakeOpenFile(obj, fp) \
Expand Down

0 comments on commit f76bf69

Please sign in to comment.