diff --git a/VM/include/luaconf.h b/VM/include/luaconf.h index 2045768..9230618 100644 --- a/VM/include/luaconf.h +++ b/VM/include/luaconf.h @@ -53,13 +53,8 @@ #define LUALIB_API LUA_API // Can be used to reconfigure visibility for internal APIs -#if defined(__GNUC__) -#define LUAI_FUNC __attribute__((visibility("hidden"))) extern -#define LUAI_DATA LUAI_FUNC -#else -#define LUAI_FUNC extern -#define LUAI_DATA extern -#endif +#define LUAI_FUNC LUA_API +#define LUAI_DATA LUA_API // Can be used to reconfigure internal error handling to use longjmp instead of C++ EH #ifndef LUA_USE_LONGJMP