Hmm... I see a potential cause for this in /mingw/include/winbase.h at
line 2188. If you move line 2188 to line 2190 does that help?
If that doesn't help does the application perhaps define UNICODE
and/or _UNICODE after the inclusion of any header? If so the define
for UNICODE and _UNICODE need to move before the inclusion of any