Commit 3712ae0c authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 65124b6e
......@@ -2,7 +2,7 @@ MODULE = glu32.dll
IMPORTLIB = glu32
IMPORTS = opengl32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
geom.c \
......
......@@ -276,19 +276,3 @@ GLboolean WINAPI wine_gluCheckExtension( const GLubyte *extName, const GLubyte *
}
return GLU_FALSE;
}
/***********************************************************************
* DllMain
*/
BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, LPVOID reserved )
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( instance );
break;
}
return TRUE;
}
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