Преглед на файлове

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.
Roberto Ierusalimschy преди 1 седмица
родител
ревизия
0b73ed8f08
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      luaconf.h

+ 2 - 2
luaconf.h

@@ -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'
 */