aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLittleboy2011-06-23 10:52:39 -0400
committerLittleboy2011-06-23 11:31:54 -0400
commiteecd61e33d4c15fcfc1cd9abb72c1e85fcd7a647 (patch)
tree61b0ffb380fa8aad5551b2cef6d0a7a50d2c3e37
parent77440aadf4055d5cadf86a7be00e6c8ed51a5be7 (diff)
downloadscummvm-rg350-eecd61e33d4c15fcfc1cd9abb72c1e85fcd7a647.tar.gz
scummvm-rg350-eecd61e33d4c15fcfc1cd9abb72c1e85fcd7a647.tar.bz2
scummvm-rg350-eecd61e33d4c15fcfc1cd9abb72c1e85fcd7a647.zip
ANDROID: Allow use of abort() in JNI class
-rw-r--r--backends/platform/android/jni.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp
index c4daf24e16..e3b4ef7401 100644
--- a/backends/platform/android/jni.cpp
+++ b/backends/platform/android/jni.cpp
@@ -22,8 +22,9 @@
#if defined(__ANDROID__)
-// Allow use of stuff in <time.h>
+// Allow use of stuff in <time.h> and abort()
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
+#define FORBIDDEN_SYMBOL_EXCEPTION_abort
// Disable printf override in common/forbidden.h to avoid
// clashes with log.h from the Android SDK.