Remove implementation of NtCurrentTeb for ppc host.

This commit is contained in:
Emmanuel Maillard 2004-07-19 19:33:08 +00:00 committed by Alexandre Julliard
parent 2575070120
commit 7890457d5e
1 changed files with 0 additions and 12 deletions

View File

@ -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