From b5964ad92db322e8fdfbbe340d52a49abf7ebc1a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 1 Jun 2005 20:06:19 +0000 Subject: [PATCH] Avoid dependency on thread.h. --- dlls/win32s/w32skernel.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/win32s/w32skernel.c b/dlls/win32s/w32skernel.c index 4bdc411b88d..29a3bc9955d 100644 --- a/dlls/win32s/w32skernel.c +++ b/dlls/win32s/w32skernel.c @@ -24,8 +24,7 @@ #include "windef.h" #include "winbase.h" -#include "wine/windef16.h" -#include "thread.h" +#include "wine/winbase16.h" /*********************************************************************** * _kGetWin32sDirectory@0 (W32SKRNL.14) @@ -47,7 +46,7 @@ LPSTR WINAPI GetWin32sDirectory(void) */ SEGPTR WINAPI _GetThunkBuff(void) { - return (SEGPTR)NULL; + return 0; } @@ -56,5 +55,5 @@ SEGPTR WINAPI _GetThunkBuff(void) */ HTASK16 WINAPI GetCurrentTask32(void) { - return NtCurrentTeb()->htask16; + return GetCurrentTask(); }