Remove implementation of NtCurrentTeb for ppc host.
This commit is contained in:
parent
2575070120
commit
7890457d5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue