From 5992d10b57c165f4c5dca09d13bac07c52d1e89b Mon Sep 17 00:00:00 2001 From: HALX99 Date: Sat, 5 Dec 2020 23:02:59 +0800 Subject: [PATCH] LUAI_USER_ALIGNMENT_T matching clang defination --- external/lua/plainlua/lua-5.3.6/src/luaconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/lua/plainlua/lua-5.3.6/src/luaconf.h b/external/lua/plainlua/lua-5.3.6/src/luaconf.h index c404f2b0a3..450794f050 100644 --- a/external/lua/plainlua/lua-5.3.6/src/luaconf.h +++ b/external/lua/plainlua/lua-5.3.6/src/luaconf.h @@ -801,8 +801,10 @@ */ #if defined(_MSC_VER) #define LUAI_USER_ALIGNMENT_T double -#else +#elif defined(__APPLE__) #define LUAI_USER_ALIGNMENT_T long double +#else +#define LUAI_USER_ALIGNMENT_T max_align_t #endif