Commit 5aa83bee authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Add a dummy _wassert implementation to avoid a Mingw build issue.

_wassert references __imp__MessageBoxW@16 which causes a duplicate definition of MessageBoxW. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b80e7de8
......@@ -55,6 +55,10 @@ 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment