[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH] user32: Remove no longer needed assert() workarounds for MinGW.
From:       Zebediah Figura <zfigura () codeweavers ! com>
Date:       2022-01-31 23:00:58
Message-ID: 20220131230100.73927-1-zfigura () codeweavers ! com
[Download RAW message or body]

We build with msvcrt, so we don't link against MinGW's assert() anymore.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
---
 dlls/user32/user_private.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/user32/user_private.h b/dlls/user32/user_private.h
index 3b542ea1452..d1016780658 100644
--- a/dlls/user32/user_private.h
+++ b/dlls/user32/user_private.h
@@ -296,12 +296,6 @@ typedef struct
 extern int bitmap_info_size( const BITMAPINFO * info, WORD coloruse ) DECLSPEC_HIDDEN;
 extern BOOL get_icon_size( HICON handle, SIZE *size ) DECLSPEC_HIDDEN;
 
-/* Mingw's assert() imports MessageBoxA and gets confused by user32 exporting it */
-#ifdef __MINGW32__
-#undef assert
-#define assert(expr) ((void)0)
-#endif
-
 extern struct user_api_hook *user_api DECLSPEC_HIDDEN;
 LRESULT WINAPI USER_DefDlgProc(HWND, UINT, WPARAM, LPARAM, BOOL) DECLSPEC_HIDDEN;
 LRESULT WINAPI USER_ScrollBarProc(HWND, UINT, WPARAM, LPARAM, BOOL) DECLSPEC_HIDDEN;
-- 
2.34.1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic