Commit 031c73af authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Disable assert() for the mingw build since mingw gets confused trying to…

user32: Disable assert() for the mingw build since mingw gets confused trying to import MessageBoxA.
parent de945384
......@@ -354,4 +354,10 @@ typedef struct
extern void CURSORICON_FreeModuleIcons( HMODULE16 hModule ) DECLSPEC_HIDDEN;
/* Mingw's assert() imports MessageBoxA and gets confused by user32 exporting it */
#ifdef __MINGW32__
#undef assert
#define assert(expr) ((void)0)
#endif
#endif /* __WINE_USER_PRIVATE_H */
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