diff --git a/dlls/authz/Makefile.in b/dlls/authz/Makefile.in index 91a070485bb..33244b45b06 100644 --- a/dlls/authz/Makefile.in +++ b/dlls/authz/Makefile.in @@ -1,6 +1,6 @@ MODULE = authz.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ authz.c diff --git a/dlls/authz/authz.c b/dlls/authz/authz.c index 72d462d3bb8..879207dd9b6 100644 --- a/dlls/authz/authz.c +++ b/dlls/authz/authz.c @@ -27,24 +27,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(authz); -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -{ - TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); - - switch (fdwReason) - { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(hinstDLL); - break; - default: - break; - } - - return TRUE; -} - /*********************************************************************** * AuthzInitializeResourceManager (AUTHZ.@) */