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