From eeef426b8399ad39dfc759352a6e7b0348a047d1 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 5 Jan 2007 01:19:56 +0000 Subject: Added more Win64 support --- pthread_cancel.c | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'pthread_cancel.c') diff --git a/pthread_cancel.c b/pthread_cancel.c index 1118977..7d519ee 100644 --- a/pthread_cancel.c +++ b/pthread_cancel.c @@ -36,34 +36,7 @@ #include "pthread.h" #include "implement.h" - -#if defined(_M_IX86) || defined(_X86_) -#define PTW32_PROGCTR(Context) ((Context).Eip) -#endif - -#if defined (_M_IA64) -#define PTW32_PROGCTR(Context) ((Context).StIIP) -#endif - -#if defined(_MIPS_) -#define PTW32_PROGCTR(Context) ((Context).Fir) -#endif - -#if defined(_ALPHA_) -#define PTW32_PROGCTR(Context) ((Context).Fir) -#endif - -#if defined(_PPC_) -#define PTW32_PROGCTR(Context) ((Context).Iar) -#endif - -#if defined(_AMD64_) -#define PTW32_PROGCTR(Context) ((Context).Rip) -#endif - -#if !defined(PTW32_PROGCTR) -#error Module contains CPU-specific code; modify and recompile. -#endif +#include "context.h" static void ptw32_cancel_self (void) -- cgit v1.2.3