Commit f9911319 authored by Alexandre Julliard's avatar Alexandre Julliard

propsys: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent ff798c08
...@@ -2,7 +2,7 @@ MODULE = propsys.dll ...@@ -2,7 +2,7 @@ MODULE = propsys.dll
IMPORTLIB = propsys IMPORTLIB = propsys
IMPORTS = ole32 oleaut32 uuid IMPORTS = ole32 oleaut32 uuid
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
propstore.c \ propstore.c \
......
...@@ -42,8 +42,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -42,8 +42,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:
propsys_hInstance = hinstDLL; propsys_hInstance = hinstDLL;
DisableThreadLibraryCalls(hinstDLL); DisableThreadLibraryCalls(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