Commit 48b58cf1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent b783f1db
......@@ -2,7 +2,7 @@ MODULE = spoolss.dll
IMPORTLIB = spoolss
IMPORTS = winspool
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
router.c \
......
......@@ -46,8 +46,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason) {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: {
DisableThreadLibraryCalls(hinstDLL);
break;
......
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