From 286012c9919ff83fadd52c9173109254120e6ec9 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 27 Sep 2015 14:30:20 -0700 Subject: [PATCH] Blow up early, blow up often - Expose and trigger a link error with getpagesize() on Gingerbread devices if we have built the software incorrectly. --- Android/jni/jnihooks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android/jni/jnihooks.c b/Android/jni/jnihooks.c index bfe470d7..73882314 100644 --- a/Android/jni/jnihooks.c +++ b/Android/jni/jnihooks.c @@ -102,6 +102,9 @@ void Java_org_deadc0de_apple2ix_Apple2Activity_nativeOnCreate(JNIEnv *env, jobje return; } + int pagesize = getpagesize(); + LOG("PAGESIZE IS : %d", pagesize); + data_dir = strdup(dataDir); if (crashHandler && crashHandler->init) { crashHandler->init(data_dir);