Jacek Caban : user32: Remove _wassert workaround.

Alexandre Julliard julliard at winehq.org
Wed Jan 26 15:57:30 CST 2022


Module: wine
Branch: master
Commit: df261bcf95c4b81aa474cd2cedac0cd1d6c9a242
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=df261bcf95c4b81aa474cd2cedac0cd1d6c9a242

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jan 26 13:01:55 2022 +0100

user32: Remove _wassert workaround.

We no longer link to mingwex.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/user_main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/user32/user_main.c b/dlls/user32/user_main.c
index 78bc1fddfc2..62097edcdaa 100644
--- a/dlls/user32/user_main.c
+++ b/dlls/user32/user_main.c
@@ -52,11 +52,6 @@ static DWORD exiting_thread_id;
 
 extern void WDML_NotifyThreadDetach(void);
 
-#ifdef __MINGW32__
-/* work around a Mingw build issue where _wassert causes a duplicate reference to MessageBoxW */
-void __cdecl _wassert( const WCHAR *msg, const WCHAR *file, unsigned line) { abort(); }
-#endif
-
 /***********************************************************************
  *           USER_Lock
  */




More information about the wine-cvs mailing list