]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Use __NetBSD_Version__ macro instead of __NetBSD_Prereq__
authorRoy Marples <roy@marples.name>
Sun, 13 Jul 2014 22:01:01 +0000 (22:01 +0000)
committerRoy Marples <roy@marples.name>
Sun, 13 Jul 2014 22:01:01 +0000 (22:01 +0000)
ipv6.h

diff --git a/ipv6.h b/ipv6.h
index 8b2f5edb6454029f7413840bc44e61480a3517fd..088bfb3f3e5fffa07899c262a0cedcef8cf31d29 100644 (file)
--- a/ipv6.h
+++ b/ipv6.h
 #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 {