diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-11-04 09:30:31 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-11-07 12:46:19 +0100 |
commit | 42ddcf71e58300c7b594ac3964977625355cb24c (patch) | |
tree | 05fa1e3cb3cd3a64b7cc510b51b68997fbb527e9 /lib/zebra.h | |
parent | *: Remove netlink headers from lib/zebra.h (diff) | |
download | frr-42ddcf71e58300c7b594ac3964977625355cb24c.tar.xz frr-42ddcf71e58300c7b594ac3964977625355cb24c.zip |
*: Remove APPLE #defines from build
We cannot build on apple machines at all due
to our usage of some gcc extensions that will
probably never see the light of day again.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 3fe61c801..378ccd84d 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -76,10 +76,6 @@ #include <sys/sockio.h> #endif /* HAVE_SYS_SOCKIO_H */ -#ifdef __APPLE__ -#define __APPLE_USE_RFC_3542 -#endif - #ifndef HAVE_LIBCRYPT #ifdef HAVE_LIBCRYPTO #include <openssl/des.h> @@ -280,10 +276,9 @@ struct in_pktinfo { * OpenBSD: network byte order, apart from older versions which are as per * *BSD */ -#if defined(__NetBSD__) \ - || (defined(__FreeBSD__) && (__FreeBSD_version < 1100030)) \ - || (defined(__OpenBSD__) && (OpenBSD < 200311)) \ - || (defined(__APPLE__)) +#if defined(__NetBSD__) || \ + (defined(__FreeBSD__) && (__FreeBSD_version < 1100030)) || \ + (defined(__OpenBSD__) && (OpenBSD < 200311)) #define HAVE_IP_HDRINCL_BSD_ORDER #endif |