diff options
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools.h b/src/tools.h index a4bcf43..b869a16 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -17,9 +17,11 @@ | |||
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | // For some reason, LuaJIT 64bits doesn't support lua_newstate() | 19 | // For some reason, LuaJIT 64bits doesn't support lua_newstate() |
20 | #if defined(LUA_LJDIR) && (defined(__x86_64__) || defined(_M_X64)) | 20 | #if defined(LUA_JITLIBNAME) && (defined(__x86_64__) || defined(_M_X64)) |
21 | //#pragma message( "LuaJIT 64 bits detected: don't propagate allocf") | ||
21 | #define PROPAGATE_ALLOCF 0 | 22 | #define PROPAGATE_ALLOCF 0 |
22 | #else // LuaJIT x64 | 23 | #else // LuaJIT x64 |
24 | //#pragma message( "PUC-Lua detected: propagate allocf") | ||
23 | #define PROPAGATE_ALLOCF 1 | 25 | #define PROPAGATE_ALLOCF 1 |
24 | #endif // LuaJIT x64 | 26 | #endif // LuaJIT x64 |
25 | #if PROPAGATE_ALLOCF | 27 | #if PROPAGATE_ALLOCF |