Module: wine
Branch: master
Commit: e9dd8ac8f2449089ea837005bd8df786d88bef00
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e9dd8ac8f2449089ea837005…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:46:19 2021 +0100
msports: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msports/Makefile.in | 5 +----
dlls/msports/main.c | 43 -------------------------------------------
2 files changed, 1 insertion(+), 47 deletions(-)
diff --git a/dlls/msports/Makefile.in b/dlls/msports/Makefile.in
index f3795c9a32e..17e4804d51f 100644
--- a/dlls/msports/Makefile.in
+++ b/dlls/msports/Makefile.in
@@ -1,6 +1,3 @@
MODULE = msports.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/msports/main.c b/dlls/msports/main.c
deleted file mode 100644
index 0ad2d1de4dd..00000000000
--- a/dlls/msports/main.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * msports.dll
- *
- * Copyright 2016 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(msports);
-
-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;
-}
Module: wine
Branch: master
Commit: 36d95bfc88a8e860aa7b95e968b0975f6930e446
URL: https://source.winehq.org/git/wine.git/?a=commit;h=36d95bfc88a8e860aa7b95e9…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:46:05 2021 +0100
msls31: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msls31/Makefile.in | 5 +----
dlls/msls31/msls31_main.c | 42 ------------------------------------------
2 files changed, 1 insertion(+), 46 deletions(-)
diff --git a/dlls/msls31/Makefile.in b/dlls/msls31/Makefile.in
index 19f079bb28e..b4d7ab4f904 100644
--- a/dlls/msls31/Makefile.in
+++ b/dlls/msls31/Makefile.in
@@ -1,6 +1,3 @@
MODULE = msls31.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- msls31_main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/msls31/msls31_main.c b/dlls/msls31/msls31_main.c
deleted file mode 100644
index 84dc528c68a..00000000000
--- a/dlls/msls31/msls31_main.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * msls31.dll
- *
- * Copyright 2012 Josh DuBois for CodeWeavers
- *
- * 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(msls31);
-
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
- TRACE("(%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: 629ee5df464189f1b9869af92d0fa57ea8398d44
URL: https://source.winehq.org/git/wine.git/?a=commit;h=629ee5df464189f1b9869af9…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:45:45 2021 +0100
msdrm: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msdrm/Makefile.in | 5 +----
dlls/msdrm/main.c | 38 --------------------------------------
2 files changed, 1 insertion(+), 42 deletions(-)
diff --git a/dlls/msdrm/Makefile.in b/dlls/msdrm/Makefile.in
index 6f61c26b053..07d04d4f861 100644
--- a/dlls/msdrm/Makefile.in
+++ b/dlls/msdrm/Makefile.in
@@ -1,6 +1,3 @@
MODULE = msdrm.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/msdrm/main.c b/dlls/msdrm/main.c
deleted file mode 100644
index b278d77c83a..00000000000
--- a/dlls/msdrm/main.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * msdrm.dll
- *
- * Copyright 2016 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, void *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: 5984b855b937c3378f23ac44e84f1c6e0e1c1c71
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5984b855b937c3378f23ac44…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:45:30 2021 +0100
msdelta: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msdelta/Makefile.in | 5 +----
dlls/msdelta/msdelta_main.c | 40 ----------------------------------------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/dlls/msdelta/Makefile.in b/dlls/msdelta/Makefile.in
index 84dae3d114e..5f26bb04dde 100644
--- a/dlls/msdelta/Makefile.in
+++ b/dlls/msdelta/Makefile.in
@@ -1,6 +1,3 @@
MODULE = msdelta.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- msdelta_main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/msdelta/msdelta_main.c b/dlls/msdelta/msdelta_main.c
deleted file mode 100644
index 5ae82061bd6..00000000000
--- a/dlls/msdelta/msdelta_main.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright 2015 Andrew Eikum for CodeWeavers
- *
- * 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(msdelta);
-
-BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID 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;
-}
Module: wine
Branch: master
Commit: 9d1f13438f523a7799631c0324b5ecbaf83eeea2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9d1f13438f523a7799631c03…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:45:17 2021 +0100
mscorwks: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/mscorwks/Makefile.in | 5 +----
dlls/mscorwks/mscorwks_main.c | 36 ------------------------------------
2 files changed, 1 insertion(+), 40 deletions(-)
diff --git a/dlls/mscorwks/Makefile.in b/dlls/mscorwks/Makefile.in
index 42a6238a9a9..91d8823d971 100644
--- a/dlls/mscorwks/Makefile.in
+++ b/dlls/mscorwks/Makefile.in
@@ -1,6 +1,3 @@
MODULE = mscorwks.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- mscorwks_main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/mscorwks/mscorwks_main.c b/dlls/mscorwks/mscorwks_main.c
deleted file mode 100644
index ac7708087f6..00000000000
--- a/dlls/mscorwks/mscorwks_main.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * .NET workstation runtime
- *
- * Copyright 2019 Zebediah Figura for CodeWeavers
- *
- * 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, void *reserved)
-{
- switch (reason)
- {
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
- case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(instance);
- }
-
- return TRUE;
-}
Module: wine
Branch: master
Commit: 1ea7ddf8c6587b8baf6c4ff7cc4595d2f0a58fd3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1ea7ddf8c6587b8baf6c4ff7…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:45:01 2021 +0100
mscat32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/mscat32/Makefile.in | 5 +----
dlls/mscat32/main.c | 40 ----------------------------------------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/dlls/mscat32/Makefile.in b/dlls/mscat32/Makefile.in
index 4ccaf8c42c8..cc53ef65cc1 100644
--- a/dlls/mscat32/Makefile.in
+++ b/dlls/mscat32/Makefile.in
@@ -1,7 +1,4 @@
MODULE = mscat32.dll
IMPORTS = wintrust
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/mscat32/main.c b/dlls/mscat32/main.c
deleted file mode 100644
index 8408070282c..00000000000
--- a/dlls/mscat32/main.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* mscat32.dll - Backend for Microsoft's MakeCat command-line tool
- *
- * Copyright (C) 2007 Alexander N. Sørnes <alex(a)thehandofagony.com>
- *
- * This program 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 program 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 program; 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(mscat);
-
-
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
- TRACE("(%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;
-}