From: Gilles Depeyrot Date: Sun, 10 Jun 2001 18:17:59 +0000 (+0000) Subject: corrected wchar handling for Mac OS X X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/79af3d3898308751f7ea34cc498b1776b8048bb7 corrected wchar handling for Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 9571f20b2e..cd4a4957ac 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -288,11 +288,11 @@ typedef _TUCHAR wxUChar; # ifdef HAVE_WCSTR_H # include # else -# ifndef __FreeBSD__ -# include -# else +# if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__UNIX__)) # include # define wxNEED_WCSLEN +# else +# include # endif # endif # endif