Mercurial > hg > dhcpcd
changeset 2596:394615ef66e9 draft
Use __NetBSD_Version__ macro instead of __NetBSD_Prereq__
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Sun, 13 Jul 2014 22:01:01 +0000 |
| parents | b199ef2d7bef |
| children | 4972356b11e8 |
| files | ipv6.h |
| diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ipv6.h Fri Jul 11 13:24:29 2014 +0000 +++ b/ipv6.h Sun Jul 13 22:01:01 2014 +0000 @@ -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 {
