2007-02-18 Jiri Malak <jiri.malak@iol.cz>

* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines.
	* include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData):
	Add prototypes.
	[WATCOM] (NtCurrentTeb): Add protype and inline asm definition.

2007-02-18  Vesa Jskelinen  <chaac@users.sourveforge.net>

	* lib/user32.def (InternalGetWindowText): Add stub.
This commit is contained in:
Danny Smith
2007-02-18 08:08:12 +00:00
parent ee7d4af092
commit 6542214e59
4 changed files with 23 additions and 4 deletions

View File

@@ -3897,16 +3897,24 @@ static __inline__ struct _TEB * NtCurrentTeb(void)
#else
PVOID GetCurrentFiber(void);
#pragma aux GetCurrentFiber = \
"mov eax, dword ptr fs:0x10" \
value [eax] \
modify [eax];
PVOID GetFiberData(void);
#pragma aux GetFiberData = \
"mov eax, dword ptr fs:0x10" \
"mov eax, [eax]" \
value [eax] \
modify [eax];
struct _TEB * NtCurrentTeb(void);
#pragma aux NtCurrentTeb = \
"mov eax, dword ptr fs:0x18" \
value [eax] \
modify [eax];
#endif /* __GNUC__ */
#endif /* _X86_ */