From 3c4f84521e8836229be50f396a436b677066ca88 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Tue, 30 Jan 2001 21:00:18 +0000 Subject: [PATCH] added tests for __MACH__ to compile under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 6e6e875c54..0ab57e3987 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -366,7 +366,7 @@ typedef unsigned __WCHAR_TYPE__ wxUChar; # define wxUChar unsigned char # endif -# ifdef __FreeBSD__ +# if defined(__FreeBSD__) || defined(__MACH__) # undef _T # endif @@ -419,7 +419,7 @@ typedef unsigned __WCHAR_TYPE__ wxUChar; # elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS__) && defined(__INTEL__)) # define wxStricmp _stricmp # define wxStrnicmp _strnicmp -# elif defined(__UNIX__) || defined(__GNUWIN32__) +# elif defined(__UNIX__) || defined(__GNUWIN32__) || defined(__MACH__) # define wxStricmp strcasecmp # define wxStrnicmp strncasecmp # elif defined(__MWERKS__) && !defined(__INTEL__)