summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 17:37:36 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 17:37:36 +0000
commitacc69509cb82e7f5a1b1a384259e0e5c40f25a61 (patch)
tree6aba28a8cacc55fae353b5732b4fd43e5d7588d1 /ext
parent085e40d45b94285415e4a9909a32fc0532a210c3 (diff)
This ifdef should be useless after r30374.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/getnameinfo.c3
-rw-r--r--ext/socket/option.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/ext/socket/getnameinfo.c b/ext/socket/getnameinfo.c
index 3ee83eb..d1d5ff6 100644
--- a/ext/socket/getnameinfo.c
+++ b/ext/socket/getnameinfo.c
@@ -114,9 +114,6 @@ static struct afd {
#define ENI_FAMILY 5
#define ENI_SALEN 6
-#ifdef __HAIKU__
-#define HAVE_INET_NTOP
-#endif
#ifndef HAVE_INET_NTOP
static const char *
inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)
diff --git a/ext/socket/option.c b/ext/socket/option.c
index e58d518..2f5142d 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -433,9 +433,6 @@ inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret)
* it is not distinguishable by the size.
*/
-#ifdef __HAIKU__
-#define HAVE_INET_NTOP
-#endif
#ifndef HAVE_INET_NTOP
static char *
inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)