Commit 005e641e authored by Alexandre Julliard's avatar Alexandre Julliard

wiaservc: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent c64b6419
MODULE = wiaservc.dll MODULE = wiaservc.dll
IMPORTS = uuid ole32 advapi32 IMPORTS = uuid ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
factory.c \ factory.c \
......
...@@ -47,8 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -47,8 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID 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);
hInst = hinstDLL; hInst = hinstDLL;
......
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