ports/emulators/BasiliskII/patches/patch-src_Unix_sigsegv_cpp

18 lines
482 B
Text

--- src/Unix/sigsegv.cpp.orig Sun Jan 1 22:05:51 2017
+++ src/Unix/sigsegv.cpp Sun Jan 1 22:10:27 2017
@@ -1445,6 +1445,7 @@ static bool sparc_skip_instruction(unsigned long * reg
#endif
// Decode and skip ARM instruction
+#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
#if (defined(arm) || defined(__arm__))
enum {
#if (defined(__linux__))
@@ -1590,6 +1591,7 @@ static bool arm_skip_instruction(unsigned long * regs)
regs[ARM_REG_PC] += 4;
return true;
}
+#endif
#endif