From: Andre Noll Date: Sat, 11 Aug 2018 19:52:05 +0000 (+0200) Subject: net.c: Remove compat macros for AI_V4MAPPED et al. X-Git-Tag: v0.6.3~79 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=9f17afc2f49cfaf4f8f02d140615ee44abbf2158;p=paraslash.git net.c: Remove compat macros for AI_V4MAPPED et al. These were added 11 years ago during NetBSD-3.1 days because this version of NetBSD lacked the three macros. At least on NetBSD-7.1 (released 2017), the compat macros are no longer necessary while FreeBSD and Linux never needed them. So let's get rid of them. --- diff --git a/net.c b/net.c index d1dcba0a..91200fc0 100644 --- a/net.c +++ b/net.c @@ -10,18 +10,6 @@ #include #include #include - -/* At least NetBSD needs these. */ -#ifndef AI_V4MAPPED -#define AI_V4MAPPED 0 -#endif -#ifndef AI_ALL -#define AI_ALL 0 -#endif -#ifndef AI_ADDRCONFIG -#define AI_ADDRCONFIG 0 -#endif - #include #include "error.h"