diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-17 16:02:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 16:02:12 +0200 |
commit | b0a51bf9fe6b35cf4e2a76ec067d76349ca9b75c (patch) | |
tree | 905b5c483a9dab81bc19fbfe9893e17f02506720 /platform/android/detect.py | |
parent | 45e0f9fd523cb861b8e432966577d7c4608564ad (diff) | |
parent | 469fa47e0646d8f2ca3237dede8a04568039c7c6 (diff) | |
download | redot-engine-b0a51bf9fe6b35cf4e2a76ec067d76349ca9b75c.tar.gz |
Merge pull request #48768 from akien-mga/file-access-64-bit-4.0
Make all file access 64-bit (`uint64_t`)
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r-- | platform/android/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 2a80a3c45b..8808b032a6 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -285,6 +285,9 @@ def configure(env): ) env.Append(CPPDEFINES=["NO_STATVFS", "GLES_ENABLED"]) + if get_platform(env["ndk_platform"]) >= 24: + env.Append(CPPDEFINES=[("_FILE_OFFSET_BITS", 64)]) + env["neon_enabled"] = False if env["android_arch"] == "x86": target_opts = ["-target", "i686-none-linux-android"] |