summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2014-04-08 21:39:21 +0200
committerSfan5 <sfan5@live.de>2014-04-16 22:05:06 +0200
commit674be38fc262aab78ed75141c70e5c02830ca80d (patch)
tree4d3b6db33b957116f8e3bfaffa8456ff6dd12048 /src/config.h
parentdb60ae0459a7711bdaca2dff94c2e87e8e97796d (diff)
downloadminetest-674be38fc262aab78ed75141c70e5c02830ca80d.tar.gz
minetest-674be38fc262aab78ed75141c70e5c02830ca80d.tar.bz2
minetest-674be38fc262aab78ed75141c70e5c02830ca80d.zip
Add redis database backend
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1558ebe09..8a9d7d63d 100644
--- a/src/config.h
+++ b/src/config.h
@@ -28,6 +28,10 @@
#define USE_LUAJIT 0
#endif
+#ifndef USE_REDIS
+ #define USE_REDIS 0
+#endif
+
#ifdef USE_CMAKE_CONFIG_H
#include "cmake_config.h"
#undef PROJECT_NAME
@@ -48,6 +52,8 @@
#define USE_LEVELDB CMAKE_USE_LEVELDB
#undef USE_LUAJIT
#define USE_LUAJIT CMAKE_USE_LUAJIT
+ #undef USE_REDIS
+ #define USE_REDIS CMAKE_USE_REDIS
#undef VERSION_MAJOR
#define VERSION_MAJOR CMAKE_VERSION_MAJOR
#undef VERSION_MINOR