aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2021-12-22 22:16:46 -0500
committerrubenwardy <rw@rubenwardy.com>2022-04-08 14:55:21 +0100
commit8af332c9a782a736d7526b075a3bc652432c2078 (patch)
treea6399c3ad0e6145a59cc3f81840b31947ae4eb27 /src/config.h
parent7993909fabce4f796ca67b5a8139936667de25df (diff)
downloadhax-minetest-server-8af332c9a782a736d7526b075a3bc652432c2078.tar.gz
hax-minetest-server-8af332c9a782a736d7526b075a3bc652432c2078.zip
Remove duplication in config.h
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h16
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