user32: Disable assert() for the mingw build since mingw gets confused trying to import MessageBoxA.

This commit is contained in:
Alexandre Julliard 2009-06-08 16:45:54 +02:00
parent de945384a4
commit 031c73af30
1 changed files with 6 additions and 0 deletions

View File

@ -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 */