diff options
Diffstat (limited to '')
-rw-r--r-- | ltests.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -14,6 +14,7 @@ | |||
14 | /* test Lua with compatibility code */ | 14 | /* test Lua with compatibility code */ |
15 | #define LUA_COMPAT_MATHLIB | 15 | #define LUA_COMPAT_MATHLIB |
16 | #define LUA_COMPAT_LT_LE | 16 | #define LUA_COMPAT_LT_LE |
17 | #undef LUA_COMPAT_GLOBAL | ||
17 | 18 | ||
18 | 19 | ||
19 | #define LUA_DEBUG | 20 | #define LUA_DEBUG |
@@ -44,8 +45,8 @@ | |||
44 | #define LUA_RAND32 | 45 | #define LUA_RAND32 |
45 | 46 | ||
46 | 47 | ||
47 | /* test stack reallocation with strict address use */ | 48 | /* test stack reallocation without strict address use */ |
48 | #define LUAI_STRICT_ADDRESS 1 | 49 | #define LUAI_STRICT_ADDRESS 0 |
49 | 50 | ||
50 | 51 | ||
51 | /* memory-allocator control variables */ | 52 | /* memory-allocator control variables */ |
@@ -142,9 +143,6 @@ LUA_API void *debug_realloc (void *ud, void *block, | |||
142 | #define STRCACHE_N 23 | 143 | #define STRCACHE_N 23 |
143 | #define STRCACHE_M 5 | 144 | #define STRCACHE_M 5 |
144 | 145 | ||
145 | #undef LUAI_USER_ALIGNMENT_T | ||
146 | #define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } | ||
147 | |||
148 | 146 | ||
149 | /* | 147 | /* |
150 | ** This one is not compatible with tests for opcode optimizations, | 148 | ** This one is not compatible with tests for opcode optimizations, |
@@ -157,7 +155,6 @@ LUA_API void *debug_realloc (void *ud, void *block, | |||
157 | ** Reduce maximum stack size to make stack-overflow tests run faster. | 155 | ** Reduce maximum stack size to make stack-overflow tests run faster. |
158 | ** (But value is still large enough to overflow smaller integers.) | 156 | ** (But value is still large enough to overflow smaller integers.) |
159 | */ | 157 | */ |
160 | #undef LUAI_MAXSTACK | ||
161 | #define LUAI_MAXSTACK 68000 | 158 | #define LUAI_MAXSTACK 68000 |
162 | 159 | ||
163 | 160 | ||