android: expose dummy JNI gnustl patching method for x86

This commit is contained in:
Michael Meeks
2012-08-03 20:25:35 +01:00
parent d10065ea3a
commit 69207d1f69

View File

@@ -1408,9 +1408,9 @@ patch_libgnustl_shared(void)
sizeof(expected_method_before_r7_code),
&replacement_method_before_arm);
}
#endif // not X86
// static native void patch_libgnustl_shared();
__attribute__ ((visibility("default")))
void
Java_org_libreoffice_android_Bootstrap_patch_1libgnustl_1shared(JNIEnv* env,
@@ -1419,11 +1419,11 @@ Java_org_libreoffice_android_Bootstrap_patch_1libgnustl_1shared(JNIEnv* env,
(void) env;
(void) clazz;
#ifndef X86
patch_libgnustl_shared();
#endif
}
#endif // not X86
#define UNPACK_TREE "/assets/unpack"
static int