Heavier checks for wxUSE_WCHAR_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -210,10 +210,17 @@ inline WORD __wxMSW_ctype(wxChar ch)
|
|||||||
#elif !defined(wxUSE_WCHAR_T)
|
#elif !defined(wxUSE_WCHAR_T)
|
||||||
#if defined(__VISUALC__) && (__VISUALC__ < 900)
|
#if defined(__VISUALC__) && (__VISUALC__ < 900)
|
||||||
#define wxUSE_WCHAR_T 0 // wchar_t is not available for MSVC++ 1.5
|
#define wxUSE_WCHAR_T 0 // wchar_t is not available for MSVC++ 1.5
|
||||||
|
#elif defined(__UNIX__)
|
||||||
|
#if defined(HAVE_WCSTR_H) || defined(HAVE_WCHAR_H)
|
||||||
|
#define wxUSE_WCHAR_T 1
|
||||||
#else
|
#else
|
||||||
|
#define wxUSE_WCHAR_T 0
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
// add additional compiler checks if this fails
|
||||||
#define wxUSE_WCHAR_T 1
|
#define wxUSE_WCHAR_T 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif//wxUSE_UNICODE
|
||||||
|
|
||||||
#if wxUSE_WCHAR_T
|
#if wxUSE_WCHAR_T
|
||||||
#ifdef HAVE_WCSTR_H
|
#ifdef HAVE_WCSTR_H
|
||||||
|
Reference in New Issue
Block a user