From 0b54eea084ac894fb777e63dc0fa82e3b9d18ff4 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 4 Aug 2023 19:53:52 +0300 Subject: [PATCH] Change the internal macro to use hidden, which guarantees a standard ABI --- Core/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/defs.h b/Core/defs.h index 6264b34..29fb5dd 100644 --- a/Core/defs.h +++ b/Core/defs.h @@ -24,7 +24,7 @@ #define __builtin_bswap16(x) ({ typeof(x) _x = (x); _x >> 8 | _x << 8; }) #endif -#define internal __attribute__((visibility("internal"))) +#define internal __attribute__((visibility("hidden"))) #define noinline __attribute__((noinline)) #if __clang__