diff options
author | sapier <Sapier at GMX dot net> | 2014-10-01 22:18:29 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-10-01 22:18:29 +0200 |
commit | b37bff72f17c46b3bf6ba55a4084edf58bd3df78 (patch) | |
tree | 30f0611df296a7bd7af3e0cc9b87d6c289ab7632 /src/config.h | |
parent | 47abe25fe7d87ef3f15ec8d1e5a9ece51819a606 (diff) | |
download | minetest-b37bff72f17c46b3bf6ba55a4084edf58bd3df78.tar.gz minetest-b37bff72f17c46b3bf6ba55a4084edf58bd3df78.tar.bz2 minetest-b37bff72f17c46b3bf6ba55a4084edf58bd3df78.zip |
Fix android build using hardcoded path for data instead of using the one fetched by android api on init.
Fix android missing version information
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 510c5ef1e..f1aef03aa 100644 --- a/src/config.h +++ b/src/config.h @@ -74,5 +74,10 @@ #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING #endif +#ifdef __ANDROID__ + #include "android_version.h" + #define VERSION_STRING CMAKE_VERSION_STRING +#endif + #endif |