diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 5b083a6257..fe9ddce627 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -81,8 +81,9 @@ #include // non Unix compilers which do have wchar.h (but not tchar.h which is included -// below and which includes wchar.h anyhow) -#if defined(__MWERKS__) || defined(__VISAGECPP__) +// below and which includes wchar.h anyhow). +// Actually MinGW has tchar.h, but it does not include wchar.h +#if defined(__MWERKS__) || defined(__VISAGECPP__) || defined(__MINGW32__) #ifndef HAVE_WCHAR_H #define HAVE_WCHAR_H #endif