Commit 0a2c99f1 authored by topjohnwu's avatar topjohnwu

Use __LP64__ to detect 64 bit

parent 836bfbdd
...@@ -56,7 +56,7 @@ static void (*android_update_LD_LIBRARY_PATH)(const char *ld_library_path); ...@@ -56,7 +56,7 @@ static void (*android_update_LD_LIBRARY_PATH)(const char *ld_library_path);
*(void **) &(arg) = f; \ *(void **) &(arg) = f; \
} }
#if defined(__aarch64__) || defined(__x86_64__) #ifdef __LP64__
constexpr char apex_path[] = ":/apex/com.android.runtime/lib64"; constexpr char apex_path[] = ":/apex/com.android.runtime/lib64";
#else #else
constexpr char apex_path[] = ":/apex/com.android.runtime/lib"; constexpr char apex_path[] = ":/apex/com.android.runtime/lib";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment