mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-22 23:58:48 -05:00
Don't include cmake_config_githash.h into files that don't need it
This commit is contained in:
parent
8979a3dd99
commit
5357a17bac
@ -74,11 +74,5 @@
|
|||||||
#define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
|
#define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
|
||||||
#include "android_version.h"
|
|
||||||
#else
|
|
||||||
#include "cmake_config_githash.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "main.h" // for g_settings
|
#include "main.h" // for g_settings
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "version.h"
|
|
||||||
#include "httpfetch.h"
|
#include "httpfetch.h"
|
||||||
#include "porting.h"
|
#include "porting.h"
|
||||||
|
|
||||||
|
@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#define VERSION_HEADER
|
#define VERSION_HEADER
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#ifdef __ANDROID__
|
||||||
|
#include "android_version.h"
|
||||||
|
#else
|
||||||
|
#include "cmake_config_githash.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
extern const char *minetest_version_simple;
|
extern const char *minetest_version_simple;
|
||||||
extern const char *minetest_version_hash;
|
extern const char *minetest_version_hash;
|
||||||
|
Loading…
Reference in New Issue
Block a user