Module: wine
Branch: master
Commit: 597db385cadca1c6ad690648ae21074419bc793a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=597db385cadca1c6ad690648…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:51:35 2021 +0100
samlib: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/samlib/Makefile.in | 5 +----
dlls/samlib/main.c | 44 --------------------------------------------
2 files changed, 1 insertion(+), 48 deletions(-)
diff --git a/dlls/samlib/Makefile.in b/dlls/samlib/Makefile.in
index 1ca2a4a6604..6b4a15f25e4 100644
--- a/dlls/samlib/Makefile.in
+++ b/dlls/samlib/Makefile.in
@@ -1,6 +1,3 @@
MODULE = samlib.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/samlib/main.c b/dlls/samlib/main.c
deleted file mode 100644
index a1af3c986fd..00000000000
--- a/dlls/samlib/main.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright 2010 Louis Lenders
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(samlib);
-
-/*****************************************************
- * DllMain
- */
-BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
-{
- TRACE("(%p, %d, %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;
-}
Module: wine
Branch: master
Commit: 5d4148e80b0c5ef743d82686d63865d6ac9a6eb4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5d4148e80b0c5ef743d82686…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:51:22 2021 +0100
rtutils: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/rtutils/Makefile.in | 3 +--
dlls/rtutils/main.c | 47 -----------------------------------------------
2 files changed, 1 insertion(+), 49 deletions(-)
diff --git a/dlls/rtutils/Makefile.in b/dlls/rtutils/Makefile.in
index d778852c9d4..f34937337af 100644
--- a/dlls/rtutils/Makefile.in
+++ b/dlls/rtutils/Makefile.in
@@ -1,8 +1,7 @@
MODULE = rtutils.dll
IMPORTLIB = rtutils
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
- main.c \
tracing.c
diff --git a/dlls/rtutils/main.c b/dlls/rtutils/main.c
deleted file mode 100644
index 009101a5517..00000000000
--- a/dlls/rtutils/main.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * rtutils main
- *
- * Copyright 2009 Alexander Scott-Johns
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(rtutils);
-
-/***********************************************************************
- * DllMain (RTUTILS.@)
- */
-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;
- }
-
- return TRUE;
-}
Module: wine
Branch: master
Commit: 170c5526ca0aae0f788e9100e5628aab8908a2c8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=170c5526ca0aae0f788e9100…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:50:16 2021 +0100
resutils: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/resutils/Makefile.in | 5 +----
dlls/resutils/resutils.c | 48 -----------------------------------------------
2 files changed, 1 insertion(+), 52 deletions(-)
diff --git a/dlls/resutils/Makefile.in b/dlls/resutils/Makefile.in
index f5c43f88d1f..1d6c0777d01 100644
--- a/dlls/resutils/Makefile.in
+++ b/dlls/resutils/Makefile.in
@@ -1,7 +1,4 @@
MODULE = resutils.dll
IMPORTLIB = resutils
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- resutils.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/resutils/resutils.c b/dlls/resutils/resutils.c
deleted file mode 100644
index b9e3c66fa1a..00000000000
--- a/dlls/resutils/resutils.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * resutils main
- *
- * Copyright 2006 Benjamin Arai (Google)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(resutils);
-
-/***********************************************************************
- * DllMain (RESUTILS.@)
- *
- */
-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;
- }
-
- return TRUE;
-}
Module: wine
Branch: master
Commit: 1028fdfebda06139059abd783571d5248a0b71b8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1028fdfebda06139059abd78…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:49:59 2021 +0100
regapi: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/regapi/Makefile.in | 5 +----
dlls/regapi/main.c | 44 --------------------------------------------
2 files changed, 1 insertion(+), 48 deletions(-)
diff --git a/dlls/regapi/Makefile.in b/dlls/regapi/Makefile.in
index 4d8d773f9af..ce76b50a91f 100644
--- a/dlls/regapi/Makefile.in
+++ b/dlls/regapi/Makefile.in
@@ -1,6 +1,3 @@
MODULE = regapi.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/regapi/main.c b/dlls/regapi/main.c
deleted file mode 100644
index 1164e92102a..00000000000
--- a/dlls/regapi/main.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * regapi implementation
- *
- * Copyright 2011 Austin English
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(regapi);
-
-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;
-}
Module: wine
Branch: master
Commit: 2ede93eebda988f69770457430376387eb2325b8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2ede93eebda988f697704574…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:49:36 2021 +0100
photometadatahandler: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/photometadatahandler/Makefile.in | 5 +----
dlls/photometadatahandler/main.c | 39 -----------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)
diff --git a/dlls/photometadatahandler/Makefile.in b/dlls/photometadatahandler/Makefile.in
index c791b4c6365..d25dfea500b 100644
--- a/dlls/photometadatahandler/Makefile.in
+++ b/dlls/photometadatahandler/Makefile.in
@@ -1,8 +1,5 @@
MODULE = photometadatahandler.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
RC_SRCS = photometadatahandler.rc
diff --git a/dlls/photometadatahandler/main.c b/dlls/photometadatahandler/main.c
deleted file mode 100644
index 7a9878d32ee..00000000000
--- a/dlls/photometadatahandler/main.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * PhotoMetadataHandler implementation
- *
- * Copyright 2012 Austin English
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-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;
-}
Module: wine
Branch: master
Commit: b0c277f68d3c7e3ed659fae112f72db1a4e3aec4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b0c277f68d3c7e3ed659fae1…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:49:18 2021 +0100
olethk32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/olethk32/Makefile.in | 4 +---
dlls/olethk32/main.c | 37 -------------------------------------
2 files changed, 1 insertion(+), 40 deletions(-)
diff --git a/dlls/olethk32/Makefile.in b/dlls/olethk32/Makefile.in
index 6888b46c3df..124ae2cd60c 100644
--- a/dlls/olethk32/Makefile.in
+++ b/dlls/olethk32/Makefile.in
@@ -1,7 +1,5 @@
MODULE = olethk32.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
RC_SRCS = version.rc
diff --git a/dlls/olethk32/main.c b/dlls/olethk32/main.c
deleted file mode 100644
index 13de72eb197..00000000000
--- a/dlls/olethk32/main.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright 2007 Stefan Leichter
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(olethk32);
-
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
- TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
-
- if (fdwReason == DLL_WINE_PREATTACH)
- return FALSE; /* prefer native version */
-
- if (fdwReason == DLL_PROCESS_ATTACH)
- DisableThreadLibraryCalls(hinstDLL);
-
- return TRUE;
-}
Module: wine
Branch: master
Commit: 6ba59cf0ff37b5257d8b40b265170538403f30e5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6ba59cf0ff37b5257d8b40b2…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:48:19 2021 +0100
odbcbcp: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/odbcbcp/Makefile.in | 5 +----
dlls/odbcbcp/main.c | 40 ----------------------------------------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/dlls/odbcbcp/Makefile.in b/dlls/odbcbcp/Makefile.in
index c0269cb5a9e..7d3497852d1 100644
--- a/dlls/odbcbcp/Makefile.in
+++ b/dlls/odbcbcp/Makefile.in
@@ -1,6 +1,3 @@
MODULE = odbcbcp.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/odbcbcp/main.c b/dlls/odbcbcp/main.c
deleted file mode 100644
index 2dfe6d0bab6..00000000000
--- a/dlls/odbcbcp/main.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2019 Louis Lenders
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(odbcbcp);
-
-BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, LPVOID reserved)
-{
- TRACE("(%p, %d, %p)\n", dll, reason, reserved);
-
- switch (reason)
- {
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
- case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(dll);
- break;
- }
- return TRUE;
-}
Module: wine
Branch: master
Commit: 3fe970ccebcf96a30f9a36e9bfb2e75ac9b462b5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3fe970ccebcf96a30f9a36e9…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:48:03 2021 +0100
npptools: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/npptools/Makefile.in | 5 +----
dlls/npptools/main.c | 37 -------------------------------------
2 files changed, 1 insertion(+), 41 deletions(-)
diff --git a/dlls/npptools/Makefile.in b/dlls/npptools/Makefile.in
index 64ff9691aa6..4aa7f466fac 100644
--- a/dlls/npptools/Makefile.in
+++ b/dlls/npptools/Makefile.in
@@ -1,6 +1,3 @@
MODULE = npptools.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/npptools/main.c b/dlls/npptools/main.c
deleted file mode 100644
index ad2b8931556..00000000000
--- a/dlls/npptools/main.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * Copyright 2014 Austin English
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-
-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;
-}
Module: wine
Branch: master
Commit: b236dc6b6df11ab809734fac1279332c7ea362da
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b236dc6b6df11ab809734fac…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:46:51 2021 +0100
netutils: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/netutils/Makefile.in | 4 +---
dlls/netutils/main.c | 41 -----------------------------------------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/dlls/netutils/Makefile.in b/dlls/netutils/Makefile.in
index 21589e07b8b..8b16b2eb178 100644
--- a/dlls/netutils/Makefile.in
+++ b/dlls/netutils/Makefile.in
@@ -1,5 +1,3 @@
MODULE = netutils.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/netutils/main.c b/dlls/netutils/main.c
deleted file mode 100644
index 503e0ef7bfb..00000000000
--- a/dlls/netutils/main.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Copyright (C) 2020 Alistair Leslie-Hughes
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(netutils);
-
-BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
-{
- TRACE("(%p, %u, %p)\n", instance, reason, reserved);
-
- switch (reason)
- {
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
- case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(instance);
- break;
- }
-
- return TRUE;
-}