From: Roy Marples Date: Sun, 13 Jul 2014 22:01:01 +0000 (+0000) Subject: Use __NetBSD_Version__ macro instead of __NetBSD_Prereq__ X-Git-Tag: v6.4.1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b834be7c2d74d53d1c0c5f1906e847dce77940b;p=thirdparty%2Fdhcpcd.git Use __NetBSD_Version__ macro instead of __NetBSD_Prereq__ --- diff --git a/ipv6.h b/ipv6.h index 8b2f5edb..088bfb3f 100644 --- a/ipv6.h +++ b/ipv6.h @@ -72,10 +72,8 @@ #endif /* This was fixed in NetBSD */ -#ifdef __NetBSD_Prereq__ -# if __NetBSD_Prereq__(6, 99, 20) -# undef IPV6_POLLADDRFLAG -# endif +#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 699002000 +# undef IPV6_POLLADDRFLAG #endif struct ipv6_addr {