aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 6ece1a89..d4a29248 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -218,9 +218,13 @@ char *osmo_hexdump_nospc(const unsigned char *buf, int len)
return _osmo_hexdump(buf, len, "");
}
- /* Compat with previous typo to preserve abi */
+/* Compat with previous typo to preserve abi */
char *osmo_osmo_hexdump_nospc(const unsigned char *buf, int len)
+#if defined(__MACH__) && defined(__APPLE__)
+ ;
+#else
__attribute__((weak, alias("osmo_hexdump_nospc")));
+#endif
#include "../config.h"
#ifdef HAVE_CTYPE_H