From: Vadim Zeitlin Date: Mon, 14 May 2007 23:21:40 +0000 (+0000) Subject: djgpp doesn't have wint_t as separate type X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fddca1dce4bfc3ded17244479d5bf62d2b6cc5cc djgpp doesn't have wint_t as separate type git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unichar.h b/include/wx/unichar.h index f2bc4b0e48..31794161aa 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -18,7 +18,8 @@ // wint_t is just a typedef for wchar_t for many old compilers but for modern // ones it's a separate type and we must provide a conversion to it to allow // passing wxUniChar[Ref] to functions taking wint_t such as iswalnum() &c -#if (defined(__GNUC__) && !defined(__DARWIN__) && !defined(__OS2__)) || \ +#if (defined(__GNUC__) && \ + !defined(__DARWIN__) && !defined(__OS2__) && !defined(__DOS__)) || \ (defined(__VISUALC__) && defined(_NATIVE_WCHAR_T_DEFINED)) #define wxWINT_T_IS_SEPARATE_TYPE #endif