From 5357a17bac1a3e4070e1529be1eaae57a48ed524 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 24 Jul 2014 13:04:35 +0200 Subject: Don't include cmake_config_githash.h into files that don't need it --- src/version.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/version.h') diff --git a/src/version.h b/src/version.h index 0143d91a4..6a10a9d43 100644 --- a/src/version.h +++ b/src/version.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; -- cgit v1.2.3