From c6d2da38f13f6bc499ae101ba89c8363df727bac Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 16 Aug 2007 20:00:20 +0000 Subject: [PATCH] build ppc --- panda/src/pipeline/contextSwitch.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/panda/src/pipeline/contextSwitch.h b/panda/src/pipeline/contextSwitch.h index 275e25e9e9..8457c5346e 100644 --- a/panda/src/pipeline/contextSwitch.h +++ b/panda/src/pipeline/contextSwitch.h @@ -69,6 +69,11 @@ typedef jmp_buf cs_jmp_buf; #ifdef JB_SP #define CS_JB_SP JB_SP + +#elif defined(__ppc__) + /* This was determined experimentally through test_setjmp. */ +#define CS_JB_SP 0 + #endif #endif /* __i386__ */