diff options
author | rpj <rpj> | 2007-01-05 01:19:56 +0000 |
---|---|---|
committer | rpj <rpj> | 2007-01-05 01:19:56 +0000 |
commit | eeef426b8399ad39dfc759352a6e7b0348a047d1 (patch) | |
tree | 09565a10b3132311847c8fb4575313f9d645d476 /pthread_cancel.c | |
parent | a7ed60cf396fcb8b0670e097dda24b1b0ec2e904 (diff) |
Added more Win64 support
Diffstat (limited to 'pthread_cancel.c')
-rw-r--r-- | pthread_cancel.c | 29 |
1 files changed, 1 insertions, 28 deletions
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) |