diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-12-18 16:35:55 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-18 16:35:55 -0500 |
commit | 49cec3f78240ed6310a9b5dd05ce09a79ed5a12e (patch) | |
tree | 38e8199e49906357939e74b6ed0b00f6f54de976 /src/config.h | |
parent | 38d112033b3ba0ea0360fced334a279576aafc5d (diff) | |
download | minetest-49cec3f78240ed6310a9b5dd05ce09a79ed5a12e.tar.gz minetest-49cec3f78240ed6310a9b5dd05ce09a79ed5a12e.tar.bz2 minetest-49cec3f78240ed6310a9b5dd05ce09a79ed5a12e.zip |
Handle LuaErrors in Lua -> C++ calls on LuaJIT
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 652c9008a..1c0aac4f2 100644 --- a/src/config.h +++ b/src/config.h @@ -14,6 +14,7 @@ #define USE_FREETYPE 0 #define STATIC_SHAREDIR "" #define USE_LEVELDB 0 +#define USE_LUAJIT 0 #ifdef USE_CMAKE_CONFIG_H #include "cmake_config.h" @@ -33,6 +34,8 @@ #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR #undef USE_LEVELDB #define USE_LEVELDB CMAKE_USE_LEVELDB + #undef USE_LUAJIT + #define USE_LUAJIT CMAKE_USE_LUAJIT #endif #endif |