diff options
author | ShadowNinja <shadowninja@minetest.net> | 2021-12-22 22:16:46 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-04-08 14:55:21 +0100 |
commit | 8af332c9a782a736d7526b075a3bc652432c2078 (patch) | |
tree | a6399c3ad0e6145a59cc3f81840b31947ae4eb27 /src | |
parent | 7993909fabce4f796ca67b5a8139936667de25df (diff) | |
download | minetest-8af332c9a782a736d7526b075a3bc652432c2078.tar.gz minetest-8af332c9a782a736d7526b075a3bc652432c2078.tar.bz2 minetest-8af332c9a782a736d7526b075a3bc652432c2078.zip |
Remove duplication in config.h
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/config.h b/src/config.h index 8d920b150..50e118428 100644 --- a/src/config.h +++ b/src/config.h @@ -11,17 +11,13 @@ #if defined USE_CMAKE_CONFIG_H #include "cmake_config.h" -#elif defined (__ANDROID__) - #define PROJECT_NAME "minetest" - #define PROJECT_NAME_C "Minetest" - #define STATIC_SHAREDIR "" - #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA) - #ifdef NDEBUG - #define BUILD_TYPE "Release" - #else - #define BUILD_TYPE "Debug" - #endif #else + #if defined (__ANDROID__) + #define PROJECT_NAME "minetest" + #define PROJECT_NAME_C "Minetest" + #define STATIC_SHAREDIR "" + #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA) + #endif #ifdef NDEBUG #define BUILD_TYPE "Release" #else |