Commit 0ed2adf6 authored by Alexandre Julliard's avatar Alexandre Julliard

comsvcs: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent 55ae768f
...@@ -2,7 +2,7 @@ MODULE = comsvcs.dll ...@@ -2,7 +2,7 @@ MODULE = comsvcs.dll
IMPORTLIB = comsvcs IMPORTLIB = comsvcs
IMPORTS = ole32 uuid IMPORTS = ole32 uuid
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
......
...@@ -360,8 +360,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID lpv) ...@@ -360,8 +360,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID lpv)
{ {
switch(reason) switch(reason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
COMSVCS_hInstance = hinst; COMSVCS_hInstance = hinst;
DisableThreadLibraryCalls(hinst); DisableThreadLibraryCalls(hinst);
......
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