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
This commit is contained in:
@@ -81,8 +81,9 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
// non Unix compilers which do have wchar.h (but not tchar.h which is included
|
// non Unix compilers which do have wchar.h (but not tchar.h which is included
|
||||||
// below and which includes wchar.h anyhow)
|
// below and which includes wchar.h anyhow).
|
||||||
#if defined(__MWERKS__) || defined(__VISAGECPP__)
|
// Actually MinGW has tchar.h, but it does not include wchar.h
|
||||||
|
#if defined(__MWERKS__) || defined(__VISAGECPP__) || defined(__MINGW32__)
|
||||||
#ifndef HAVE_WCHAR_H
|
#ifndef HAVE_WCHAR_H
|
||||||
#define HAVE_WCHAR_H
|
#define HAVE_WCHAR_H
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user