]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: cannot use aliased function on Darwin 6033/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 18 Mar 2020 15:11:44 +0000 (16:11 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 19 Mar 2020 17:47:48 +0000 (18:47 +0100)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
lib/ntop.c

index 066e10e3e485a12dc3e530799a21c5a1308fe703..ccbf8793d38e2ce3fd3b208f87b6eacaebbea3bf 100644 (file)
@@ -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)
  */