diff --git a/native/jni/core/db.cpp b/native/jni/core/db.cpp index 7922a6e7c..3ba9c790b 100644 --- a/native/jni/core/db.cpp +++ b/native/jni/core/db.cpp @@ -56,7 +56,7 @@ static void (*android_update_LD_LIBRARY_PATH)(const char *ld_library_path); *(void **) &(arg) = f; \ } -#if defined(__aarch64__) || defined(__x86_64__) +#ifdef __LP64__ constexpr char apex_path[] = ":/apex/com.android.runtime/lib64"; #else constexpr char apex_path[] = ":/apex/com.android.runtime/lib";