Commit a8aecf94 authored by Alexandre Julliard's avatar Alexandre Julliard

t2embed: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 36e02dc7
......@@ -2,7 +2,7 @@ MODULE = t2embed.dll
IMPORTLIB = t2embed
IMPORTS = gdi32 advapi32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -28,20 +28,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(t2embed);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
LONG WINAPI TTLoadEmbeddedFont(HANDLE *phFontReference, ULONG ulFlags,
ULONG *pulPrivStatus, ULONG ulPrivs,
ULONG *pulStatus, READEMBEDPROC lpfnReadFromStream,
......
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