summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket')
-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 3ee83eb2a0..d1d5ff6c73 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 e58d51850c..2f5142d062 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)