1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

LibC: Force default visibility for the _ctype_ symbol

When ports compile with -fvisibility=hidden, they can end up with
unresolved references to _ctype_ without passing
-Wl,--allow-shlib-undefined
This commit is contained in:
Andrew Kaster 2022-06-11 13:53:38 -06:00 committed by Linus Groh
parent 6ef355739d
commit 64d48bcdc1

View file

@ -20,7 +20,7 @@ __BEGIN_DECLS
#define _X 0100 #define _X 0100
#define _B 0200 #define _B 0200
extern char const _ctype_[256]; extern char const _ctype_[256] __attribute__((visibility("default")));
static inline int __inline_isalnum(int c) static inline int __inline_isalnum(int c)
{ {