diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-14 01:39:19 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-14 01:39:19 +0000 |
commit | 8453350cc0e04c3c418ce15f672ff0c417ffab61 (patch) | |
tree | 82e744bff2aabc74417eccb745ff95d558174926 /ext | |
parent | 95f1f18d06d972970ea8f051faa31999abf82600 (diff) |
merge revision(s) 18450:
* stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid
preprocessor directives. a patch from Peter Bowen at
[ruby-core:18211].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@21498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 22e178a4c8..d037be02c7 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -893,10 +893,10 @@ port_str(port, pbuf, len) } #ifndef NI_MAXHOST -# define 1025 +# define NI_MAXHOST 1025 #endif #ifndef NI_MAXSERV -# define 32 +# define NI_MAXSERV 32 #endif static struct addrinfo* |