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
This commit is contained in:
Gilles Depeyrot 2001-01-30 21:00:18 +00:00
parent 7c697725f1
commit 3c4f84521e

View File

@ -366,7 +366,7 @@ typedef unsigned __WCHAR_TYPE__ wxUChar;
# define wxUChar unsigned char # define wxUChar unsigned char
# endif # endif
# ifdef __FreeBSD__ # if defined(__FreeBSD__) || defined(__MACH__)
# undef _T # undef _T
# endif # endif
@ -419,7 +419,7 @@ typedef unsigned __WCHAR_TYPE__ wxUChar;
# elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS__) && defined(__INTEL__)) # elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS__) && defined(__INTEL__))
# define wxStricmp _stricmp # define wxStricmp _stricmp
# define wxStrnicmp _strnicmp # define wxStrnicmp _strnicmp
# elif defined(__UNIX__) || defined(__GNUWIN32__) # elif defined(__UNIX__) || defined(__GNUWIN32__) || defined(__MACH__)
# define wxStricmp strcasecmp # define wxStricmp strcasecmp
# define wxStrnicmp strncasecmp # define wxStrnicmp strncasecmp
# elif defined(__MWERKS__) && !defined(__INTEL__) # elif defined(__MWERKS__) && !defined(__INTEL__)