summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-05 03:00:09 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-05 03:00:09 +0000
commitb9d553af32e1e0dbabd112d31e4b14c89f09f5d2 (patch)
treed102f0abf7c4b0f2bf4fc6ee6afff2a26cb08090 /ext/socket/socket.c
parent9178281aea90b278ee703d1ed1aafa8e89738c41 (diff)
* ext/socket/socket.c: use _() macro instead of __P(), because the
former is provided by ruby's defines.h but the latter is offered by some systems only by chance. this fixes build failure with VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index fb0160375b..fe3113d517 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -234,7 +234,7 @@ ruby_getnameinfo__aix(sa, salen, host, hostlen, serv, servlen, flags)
#endif
#endif
-static int str_isnumber __P((const char *));
+static int str_isnumber _((const char *));
#if defined(__APPLE__)
/* fix [ruby-core:29427] */