From 8d80a84220d2be0568ed969deb93154fbea98fc8 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 18 Mar 2020 16:11:44 +0100 Subject: [PATCH] lib: cannot use aliased function on Darwin Signed-off-by: Ruben Kerkhof --- lib/ntop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntop.c b/lib/ntop.c index 066e10e3e4..ccbf8793d3 100644 --- a/lib/ntop.c +++ b/lib/ntop.c @@ -165,7 +165,7 @@ inet4: return dst; } -#ifndef INET_NTOP_NO_OVERRIDE +#if !defined(INET_NTOP_NO_OVERRIDE) && !defined(__APPLE__) /* we want to override libc inet_ntop, but make sure it shows up in backtraces * as frr_inet_ntop (to avoid confusion while debugging) */ -- 2.39.5