1
0
의 미러 https://github.com/luanti-org/luanti.git synced 2025-11-07 10:45:18 +01:00

Don't include cmake_config_githash.h into files that don't need it

This commit is contained in:
sfan5
2014-07-24 13:04:35 +02:00
부모 8979a3dd99
커밋 5357a17bac
3개의 변경된 파일5개의 추가작업 그리고 7개의 파일을 삭제

파일 보기

@@ -74,11 +74,5 @@
#define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
#endif
#ifdef __ANDROID__
#include "android_version.h"
#else
#include "cmake_config_githash.h"
#endif
#endif

파일 보기

@@ -27,7 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "log.h"
#include "main.h" // for g_settings
#include "settings.h"
#include "version.h"
#include "httpfetch.h"
#include "porting.h"

파일 보기

@@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define VERSION_HEADER
#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_hash;