From 5a5b7176da16426117ef1d0bcaf34dc42e942fff Mon Sep 17 00:00:00 2001 From: Alexei Svitkine Date: Mon, 18 Jun 2012 19:00:25 -0400 Subject: [PATCH] Fix an unused function warning. --- BasiliskII/src/Unix/sigsegv.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BasiliskII/src/Unix/sigsegv.cpp b/BasiliskII/src/Unix/sigsegv.cpp index dd26ab0f..198af5b9 100644 --- a/BasiliskII/src/Unix/sigsegv.cpp +++ b/BasiliskII/src/Unix/sigsegv.cpp @@ -2504,6 +2504,7 @@ static bool arm_skip_instruction(unsigned long * regs) */ #ifdef HAVE_MACH_EXCEPTIONS +#ifdef EMULATED_PPC static void mach_get_exception_state(sigsegv_info_t *SIP) { SIP->exc_state_count = SIGSEGV_EXCEPTION_STATE_COUNT; @@ -2514,6 +2515,7 @@ static void mach_get_exception_state(sigsegv_info_t *SIP) MACH_CHECK_ERROR(thread_get_state, krc); SIP->has_exc_state = true; } +#endif static void mach_get_thread_state(sigsegv_info_t *SIP) {