aboutsummaryrefslogtreecommitdiff
path: root/contrib/lua/src/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lua/src/llimits.h')
-rw-r--r--contrib/lua/src/llimits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/lua/src/llimits.h b/contrib/lua/src/llimits.h
index f21377fef981..0bdd3db0120d 100644
--- a/contrib/lua/src/llimits.h
+++ b/contrib/lua/src/llimits.h
@@ -66,7 +66,9 @@ typedef LUAI_USER_ALIGNMENT_T L_Umaxalign;
#else
typedef union {
lua_Number n;
+#if LUA_FLOAT_TYPE != LUA_FLOAT_INT64
double u;
+#endif
void *s;
lua_Integer i;
long l;