msvcp60: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4ea044a6c7
commit
a770fc8a3a
|
@ -3,7 +3,7 @@ EXTRADEFS = -D_MSVCP_VER=60
|
||||||
PARENTSRC = ../msvcp90
|
PARENTSRC = ../msvcp90
|
||||||
IMPORTS = msvcrt
|
IMPORTS = msvcrt
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
exception.c \
|
exception.c \
|
||||||
|
|
|
@ -86,8 +86,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:
|
||||||
init_cxx_funcs();
|
init_cxx_funcs();
|
||||||
_Init_locks__Init_locks_ctor(NULL);
|
_Init_locks__Init_locks_ctor(NULL);
|
||||||
|
|
Loading…
Reference in New Issue