Commit 161fc656 authored by Alexandre Julliard's avatar Alexandre Julliard

shcore: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 692114d7
......@@ -2,7 +2,7 @@ MODULE = shcore.dll
IMPORTLIB = shcore
IMPORTS = user32 gdi32 ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -44,8 +44,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
shcore_tls = TlsAlloc();
......
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