diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 09:06:58 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 09:06:58 +0200 |
commit | a9ea28c0ddff147b412a0197e5b8df6a63308d84 (patch) | |
tree | 6d762f49e1c62a595eb093048fab07e0fd7f4999 /src/libjvm-android.c | |
parent | 1760d9e810315afcc81946cd012b367d4e8d1b32 (diff) |
SDK_VERSION to INT_MAX
Diffstat (limited to 'src/libjvm-android.c')
-rw-r--r-- | src/libjvm-android.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libjvm-android.c b/src/libjvm-android.c index 9827fd5..2e66339 100644 --- a/src/libjvm-android.c +++ b/src/libjvm-android.c @@ -1,5 +1,6 @@ #include <stdarg.h> #include <stddef.h> +#include <limits.h> #include <assert.h> #include "jvm/jni.h" @@ -40,7 +41,7 @@ jint android_os_Build_VERSION_SDK_INT(JNIEnv *env, jobject object) { assert(env && object); - return (jint)~0; // Always the latest and greatest, XXX: maybe tunable, as can change app behaviour + return INT_MAX; // Always the latest and greatest, XXX: maybe tunable, as can change app behaviour } jstring |