Allows LUA_32BITS to be defined externally

An external definition for LUA_32BITS can change the API, but libraries
check number-format compatibility when loading. So, any incompatible
modules will report a clear error.
This commit is contained in:
Roberto Ierusalimschy 2025-08-30 16:16:02 -03:00
parent f87416f1a3
commit 0b73ed8f08

View File

@ -138,7 +138,7 @@
/*
@@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats.
*/
#define LUA_32BITS 0
/* #define LUA_32BITS */
/*
@ -153,7 +153,7 @@
#endif
#if LUA_32BITS /* { */
#if defined(LUA_32BITS) /* { */
/*
** 32-bit integers and 'float'
*/