Module: wine
Branch: master
Commit: f892f2fe8a7fd9f6aaa9198de0d0d9c911b5fff0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f892f2fe8a7fd9f6aaa9198d…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:56:13 2021 +0100
xpssvcs: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/xpssvcs/Makefile.in | 5 +----
dlls/xpssvcs/main.c | 35 -----------------------------------
2 files changed, 1 insertion(+), 39 deletions(-)
diff --git a/dlls/xpssvcs/Makefile.in b/dlls/xpssvcs/Makefile.in
index bb41d26d557..364a9d210a9 100644
--- a/dlls/xpssvcs/Makefile.in
+++ b/dlls/xpssvcs/Makefile.in
@@ -1,6 +1,3 @@
MODULE = xpssvcs.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/xpssvcs/main.c b/dlls/xpssvcs/main.c
deleted file mode 100644
index 39fb3c36302..00000000000
--- a/dlls/xpssvcs/main.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2012 Hans Leidekker 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 hinst, DWORD reason, LPVOID 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: a0fb33b23711d8eae98262e4efd61c2ced02fec2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a0fb33b23711d8eae98262e4…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:56:03 2021 +0100
xpsprint: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/xpsprint/Makefile.in | 5 +----
dlls/xpsprint/main.c | 39 ---------------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)
diff --git a/dlls/xpsprint/Makefile.in b/dlls/xpsprint/Makefile.in
index 12639f1f89d..9240d324ff4 100644
--- a/dlls/xpsprint/Makefile.in
+++ b/dlls/xpsprint/Makefile.in
@@ -1,8 +1,5 @@
MODULE = xpsprint.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
RC_SRCS = xpsprint.rc
diff --git a/dlls/xpsprint/main.c b/dlls/xpsprint/main.c
deleted file mode 100644
index 734d9221c44..00000000000
--- a/dlls/xpsprint/main.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * XPS printing support
- *
- * 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: 505ab26841741d094b663a8a121b3fbd03d1b211
URL: https://source.winehq.org/git/wine.git/?a=commit;h=505ab26841741d094b663a8a…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:55:43 2021 +0100
wuaueng: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/wuaueng/Makefile.in | 5 +----
dlls/wuaueng/main.c | 44 --------------------------------------------
2 files changed, 1 insertion(+), 48 deletions(-)
diff --git a/dlls/wuaueng/Makefile.in b/dlls/wuaueng/Makefile.in
index c74d7d9da42..e710511ab51 100644
--- a/dlls/wuaueng/Makefile.in
+++ b/dlls/wuaueng/Makefile.in
@@ -1,8 +1,5 @@
MODULE = wuaueng.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
RC_SRCS = version.rc
diff --git a/dlls/wuaueng/main.c b/dlls/wuaueng/main.c
deleted file mode 100644
index d49d3b05d02..00000000000
--- a/dlls/wuaueng/main.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright 2009 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(wuaueng);
-
-/*****************************************************
- * 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: 4eb0545f3cc481e2c193d6b8b52f30e39ced2233
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4eb0545f3cc481e2c193d6b8…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:55:30 2021 +0100
wmasf: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/wmasf/Makefile.in | 5 +----
dlls/wmasf/main.c | 44 --------------------------------------------
2 files changed, 1 insertion(+), 48 deletions(-)
diff --git a/dlls/wmasf/Makefile.in b/dlls/wmasf/Makefile.in
index 1da9f78cf94..cfeab3b64a8 100644
--- a/dlls/wmasf/Makefile.in
+++ b/dlls/wmasf/Makefile.in
@@ -1,6 +1,3 @@
MODULE = wmasf.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/wmasf/main.c b/dlls/wmasf/main.c
deleted file mode 100644
index baf7619b9f0..00000000000
--- a/dlls/wmasf/main.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * WMASF.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(wmasf);
-
-BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
-{
- TRACE("(0x%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;
- default:
- break;
- }
-
- return TRUE;
-}
Module: wine
Branch: master
Commit: f4072058e5ec1bd4479a5dee97ff8cc826d35e6e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f4072058e5ec1bd4479a5dee…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Feb 18 11:55:17 2021 +0100
wlanui: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/wlanui/Makefile.in | 5 +----
dlls/wlanui/main.c | 43 -------------------------------------------
2 files changed, 1 insertion(+), 47 deletions(-)
diff --git a/dlls/wlanui/Makefile.in b/dlls/wlanui/Makefile.in
index a78f40f53b6..927c977532a 100644
--- a/dlls/wlanui/Makefile.in
+++ b/dlls/wlanui/Makefile.in
@@ -1,6 +1,3 @@
MODULE = wlanui.dll
-EXTRADLLFLAGS = -mno-cygwin
-
-C_SRCS = \
- main.c
+EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/wlanui/main.c b/dlls/wlanui/main.c
deleted file mode 100644
index 8e8278d039a..00000000000
--- a/dlls/wlanui/main.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Wireless Local Area Network User Interface
- *
- * Copyright 2019 Alex Henrie
- *
- * 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(wlanui);
-
-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;
-}