diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-09 04:35:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-09 04:35:13 +0000 |
commit | 69aeb09eb8e9a04ee4848ccda0c7d1aef22754b2 (patch) | |
tree | 2dc30ebabc0dff358a4375de2f42335033960403 /ext/socket/socket.c | |
parent | a6267031f2a56b2548c4a3f62648c4013f424fe3 (diff) |
* 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@18450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
-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 c1a7247a38..ad1e14d5aa 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* |