summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2012-10-23 01:18:44 +0400
committerSfan5 <sfan5@live.de>2013-09-09 22:50:50 +0200
commit58841ef12f6cba1bb622353c1fcaa0e3c6fb46c9 (patch)
tree6012bbb1905231025dff89aa73782a7c38666839 /src/config.h
parent71a8769bb5ded4acb3f9e5a8502bb8af277f824d (diff)
downloadminetest-58841ef12f6cba1bb622353c1fcaa0e3c6fb46c9.tar.gz
minetest-58841ef12f6cba1bb622353c1fcaa0e3c6fb46c9.tar.bz2
minetest-58841ef12f6cba1bb622353c1fcaa0e3c6fb46c9.zip
Add dummy and LevelDB database backends
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 37dc6e0ef..3cb59e619 100644
--- a/src/config.h
+++ b/src/config.h
@@ -15,6 +15,7 @@
#define USE_FREETYPE 0
#define STATIC_SHAREDIR ""
#define BUILD_INFO "non-cmake"
+#define USE_LEVELDB 0
#ifdef USE_CMAKE_CONFIG_H
#include "cmake_config.h"
@@ -36,6 +37,8 @@
#define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
#undef BUILD_INFO
#define BUILD_INFO CMAKE_BUILD_INFO
+ #undef USE_LEVELDB
+ #define USE_LEVELDB CMAKE_USE_LEVELDB
#endif
#endif