__NetBSD__ -> SANITIZER_NETBSD

This commit is contained in:
christos 2016-09-22 13:13:09 +00:00
parent d40f84ecec
commit e4026cc8ea
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#ifndef SANITIZER_PLATFORM_LIMITS_POSIX_H
#define SANITIZER_PLATFORM_LIMITS_POSIX_H
#ifdef __NetBSD__
#if SANITIZER_NETBSD
#define _SYS_SIGNAL_H_
#include <sys/param.h>
#undef _SYS_SIGNAL_H_
@ -343,7 +343,7 @@ namespace __sanitizer {
# endif
void *ifa_dstaddr; // (struct sockaddr *)
void *ifa_data;
# ifdef __NetBSD__
# if SANITIZER_NETBSD
# if __NetBSD_Prereq__(7, 99, 39)
unsigned int ifa_addrflags;
# endif