summaryrefslogtreecommitdiff
path: root/src/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h5
1 files changed, 5 insertions, 0 deletions
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;