Module: wine Branch: master Commit: 3318278bfd9c69436421e0cc33ac3be14cf96c18 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3318278bfd9c69436421e0cc3...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Dec 13 09:50:15 2019 +0100
kernelbase: No longer import kernel32.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/kernelbase/Makefile.in | 2 +- dlls/kernelbase/debug.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/kernelbase/Makefile.in b/dlls/kernelbase/Makefile.in index aa2a79b910..9279ddbb57 100644 --- a/dlls/kernelbase/Makefile.in +++ b/dlls/kernelbase/Makefile.in @@ -1,6 +1,6 @@ MODULE = kernelbase.dll IMPORTLIB = kernelbase -IMPORTS = uuid ntdll winecrt0 kernel32 +IMPORTS = uuid ntdll winecrt0 EXTRADLLFLAGS = -nodefaultlibs -nostartfiles -mno-cygwin
C_SRCS = \ diff --git a/dlls/kernelbase/debug.c b/dlls/kernelbase/debug.c index f79be7fa6f..53b95aa6dd 100644 --- a/dlls/kernelbase/debug.c +++ b/dlls/kernelbase/debug.c @@ -43,6 +43,8 @@ typedef INT (WINAPI *MessageBoxW_funcptr)(HWND,LPCWSTR,LPCWSTR,UINT);
static PTOP_LEVEL_EXCEPTION_FILTER top_filter;
+void *dummy = RtlUnwind; /* force importing RtlUnwind from ntdll */ + /*********************************************************************** * CheckRemoteDebuggerPresent (kernelbase.@) */