Commit 7890457d authored by Emmanuel Maillard's avatar Emmanuel Maillard Committed by Alexandre Julliard

Remove implementation of NtCurrentTeb for ppc host.

parent 25750701
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment