git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46398
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define wxCRT_StrxfrmW wcsxfrm
/* Almost all compiler have strdup(), but not quite all: CodeWarrior under
#define wxCRT_StrxfrmW wcsxfrm
/* Almost all compiler have strdup(), but not quite all: CodeWarrior under
- Mac and VC++ for Windows CE don't provide it */
+ Mac and VC++ for Windows CE don't provide it; additionally, gcc under
+ Mac doesn't have wcsdup: */
#if defined(__VISUALC__) && __VISUALC__ >= 1400
#define wxCRT_StrdupA _strdup
#elif !(defined(__MWERKS__) && defined(__WXMAC__)) && !defined(__WXWINCE__)
#define wxCRT_StrdupA strdup
#endif
#if defined(__VISUALC__) && __VISUALC__ >= 1400
#define wxCRT_StrdupA _strdup
#elif !(defined(__MWERKS__) && defined(__WXMAC__)) && !defined(__WXWINCE__)
#define wxCRT_StrdupA strdup
#endif
+ #if defined(__WINDOWS__)
#define wxCRT_StrdupW _wcsdup
#define wxCRT_StrdupW _wcsdup
+ #elif !defined(__DARWIN__)
#define wxCRT_StrdupW wcsdup
#endif
#else
#define wxCRT_StrdupW wcsdup
#endif
#else