From 7890457d5e788219e61487fc7e37d6f1918dc55c Mon Sep 17 00:00:00 2001 From: Emmanuel Maillard Date: Mon, 19 Jul 2004 19:33:08 +0000 Subject: [PATCH] Remove implementation of NtCurrentTeb for ppc host. --- include/winnt.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/winnt.h b/include/winnt.h index aa5de5afb4..a3bd9f447e 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -1551,18 +1551,6 @@ extern inline struct _TEB * WINAPI NtCurrentTeb(void) __asm mov teb, eax; return teb; } -#elif defined(__powerpc__) -extern inline struct _TEB * WINAPI NtCurrentTeb(void); -extern inline struct _TEB * WINAPI NtCurrentTeb(void) -{ - struct _TEB *teb; -# ifdef __APPLE__ - __asm__("\tmr %0, r13" : "=r" (teb)); -# else - __asm__("\tmr %0, 2" : "=r" (teb)); -# endif - return teb; -} #else extern struct _TEB * WINAPI NtCurrentTeb(void); #endif -- 2.32.0.93.g670b81a890