commit | fc6723328b908a2e588c555ce747724968d215a9 | [log] [tgz] |
---|---|---|
author | Mark <markteffeteller@hotmail.com> | Thu Apr 20 22:18:48 2023 +0000 |
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | Fri Apr 21 16:26:39 2023 +0200 |
tree | 9f6b5582e72b247e2245b2d095354a3f7db7e433 | |
parent | 4749267fe3b4a8492d890e1838dc0cab08319e07 [diff] |
Fix launcher for android due to toolchain error
diff --git a/launcher/jvm_tooling.cpp b/launcher/jvm_tooling.cpp index d93b323..1b0e500 100644 --- a/launcher/jvm_tooling.cpp +++ b/launcher/jvm_tooling.cpp
@@ -67,6 +67,8 @@ if (_NSGetExecutablePath(buf, &buf_size) != 0) { #elif defined(_WIN32) if (GetModuleFileNameA(NULL, buf, sizeof(buf)) == 0) { +#elif defined(_ANDROID) + if (true) { #else // Assume Linux if (readlink("/proc/self/exe", buf, sizeof(buf)) == -1) { #endif