Lunatic: disable printing debug messages for the preview build. BUILD_LUNATIC.

git-svn-id: https://svn.eduke32.com/eduke32@3979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-08-04 20:37:51 +00:00
parent eb6899d062
commit b5c5513924

View file

@ -16,7 +16,7 @@ local bit = require("bit")
-- 2: disable JIT compilation
-- 4: load LuaJIT's 'v' module, printing trace info
-- 8: load LuaJIT's 'dump' module, printing generated IR/machine code
ffi.cdef "enum { _DEBUG_LUNATIC=1 }"
ffi.cdef "enum { _DEBUG_LUNATIC=0 }"
if (bit.band(ffiC._DEBUG_LUNATIC, 2)~=0) then
require("jit").off()