X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fconfig.h;h=b07aa5d22be23fc30f88b093765dee48a8f53fb5;hb=63867b1a372a4d1a4a4ffdec9d0862b094211a89;hp=8a9d7d63df1b6d8586d0e3fa27bb822ccae4e7df;hpb=674be38fc262aab78ed75141c70e5c02830ca80d;p=minetest.git diff --git a/src/config.h b/src/config.h index 8a9d7d63d..b07aa5d22 100644 --- a/src/config.h +++ b/src/config.h @@ -8,7 +8,10 @@ #define PROJECT_NAME "Minetest" #define RUN_IN_PLACE 0 +#define STATIC_SHAREDIR "" + #define USE_GETTEXT 0 + #ifndef USE_SOUND #define USE_SOUND 0 #endif @@ -17,8 +20,9 @@ #define USE_CURL 0 #endif -#define USE_FREETYPE 0 -#define STATIC_SHAREDIR "" +#ifndef USE_FREETYPE + #define USE_FREETYPE 0 +#endif #ifndef USE_LEVELDB #define USE_LEVELDB 0 @@ -32,6 +36,8 @@ #define USE_REDIS 0 #endif +#define HAVE_ENDIAN_H 0 + #ifdef USE_CMAKE_CONFIG_H #include "cmake_config.h" #undef PROJECT_NAME @@ -68,6 +74,13 @@ #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING #undef VERSION_EXTRA_STRING #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING + #undef HAVE_ENDIAN_H + #define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H +#endif + +#ifdef __ANDROID__ + #include "android_version.h" + #define VERSION_STRING CMAKE_VERSION_STRING #endif #endif