]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/config.h
Write common mapgen params to map_meta.txt on world initialization
[dragonfireclient.git] / src / config.h
index 54c13d4405b9eb988ee05eb15c56c24b0ca7461d..b07aa5d22be23fc30f88b093765dee48a8f53fb5 100644 (file)
@@ -36,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
        #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"
-#else
-       #include "cmake_config_githash.h"
+       #define VERSION_STRING CMAKE_VERSION_STRING
 #endif
 
 #endif