From 6df6345a73712d751173e21abb2831989ee571b3 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 10 Nov 2002 21:07:42 +0000 Subject: [PATCH] MinGW has tchar.h, but it does not include wchar.h as wxchar.h expects, hence we include it explicitly. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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