[Android] JNI: fix compilation on MIPS

Jean-Baptiste Kempf git at videolan.org
Sun Jul 20 02:28:39 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 20 02:28:11 2014 +0200| [3227eef6a2a49a9bf78b1cdab9612de86b659328] | committer: Jean-Baptiste Kempf

JNI: fix compilation on MIPS

Close #11794

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3227eef6a2a49a9bf78b1cdab9612de86b659328
---

 vlc-android/jni/native_crash_handler.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vlc-android/jni/native_crash_handler.c b/vlc-android/jni/native_crash_handler.c
index 47c7150..04090ee 100644
--- a/vlc-android/jni/native_crash_handler.c
+++ b/vlc-android/jni/native_crash_handler.c
@@ -35,7 +35,11 @@ static const int monitored_signals[] = {
     SIGBUS,
     SIGFPE,
     SIGSEGV,
+#ifndef _MIPS_ARCH
     SIGSTKFLT,
+#else
+    SIGEMT,
+#endif
     SIGPIPE
 };
 



More information about the Android mailing list