diff --git a/dlls/xolehlp/Makefile.in b/dlls/xolehlp/Makefile.in index 37b1d0169fe..629db5e01be 100644 --- a/dlls/xolehlp/Makefile.in +++ b/dlls/xolehlp/Makefile.in @@ -1,6 +1,6 @@ MODULE = xolehlp.dll IMPORTS = adsiid uuid -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = xolehlp.c diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c index 29b30244451..d3355c1c34e 100644 --- a/dlls/xolehlp/xolehlp.c +++ b/dlls/xolehlp/xolehlp.c @@ -630,21 +630,6 @@ static HRESULT TransactionManager_Create(REFIID riid, void **ppv) } /* DTC Proxy Core Object end */ -BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) -{ - TRACE("%p, %u, %p\n", hinst, reason, reserved); - - switch (reason) - { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls( hinst ); - break; - } - return TRUE; -} - static BOOL is_local_machineA( const CHAR *server ) { static const CHAR dot[] = ".";