lib: cannot use aliased function on Darwin

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
This commit is contained in:
Ruben Kerkhof 2020-03-18 16:11:44 +01:00
parent 795fbef4df
commit 8d80a84220

View 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)
*/