summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-04 09:30:31 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-07 12:46:19 +0100
commit42ddcf71e58300c7b594ac3964977625355cb24c (patch)
tree05fa1e3cb3cd3a64b7cc510b51b68997fbb527e9 /zebra
parent*: Remove netlink headers from lib/zebra.h (diff)
downloadfrr-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 'zebra')
-rw-r--r--zebra/kernel_socket.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index d897f4a1d..62adbc0c3 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -48,11 +48,7 @@ extern struct zebra_privs_t zserv_privs;
* 0). We follow this practice without questioning it, but it is a
* bug if frr calls ROUNDUP with 0.
*/
-#ifdef __APPLE__
-#define ROUNDUP_TYPE int
-#else
-#define ROUNDUP_TYPE long
-#endif
+#define ROUNDUP_TYPE long
/*
* Because of these varying conventions, the only sane approach is for