From 79af3d3898308751f7ea34cc498b1776b8048bb7 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 10 Jun 2001 18:17:59 +0000 Subject: [PATCH] corrected wchar handling for Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2