LUAI_USER_ALIGNMENT_T matching clang defination

This commit is contained in:
HALX99 2020-12-05 23:02:59 +08:00 committed by GitHub
parent 48dd621d00
commit 5992d10b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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