aboutsummaryrefslogtreecommitdiffstats
path: root/sock.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-07-11 11:28:44 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-07-11 11:28:44 +0200
commitb0a33a50735d93e1414a2e6c2007884d756429a3 (patch)
treef428b9f9b0bc200d405f0e65565f9554691e1b01 /sock.h
parenta93e3c822a697562c2e05906059922ed28f51ca5 (diff)
Better handling of situations where IPv6 is not available at run-time.
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sock.h b/sock.h
index ff7034a6..c3c0428e 100644
--- a/sock.h
+++ b/sock.h
@@ -1,13 +1,6 @@
#include <errno.h>
#include <fcntl.h>
-/* To cut down on the ifdef stuff a little bit in other places */
-#ifdef IPV6
-#define AF_INETx AF_INET6
-#else
-#define AF_INETx AF_INET
-#endif
-
#ifndef _WIN32
#include <unistd.h>
#include <sys/socket.h>