Cygwin doesn't have _wcsdup() (closes #10738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -183,7 +183,9 @@ WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size );
|
|||||||
#elif !(defined(__MWERKS__) && defined(__WXMAC__)) && !defined(__WXWINCE__)
|
#elif !(defined(__MWERKS__) && defined(__WXMAC__)) && !defined(__WXWINCE__)
|
||||||
#define wxCRT_StrdupA strdup
|
#define wxCRT_StrdupA strdup
|
||||||
#endif
|
#endif
|
||||||
#if defined(__WINDOWS__)
|
|
||||||
|
// all compilers except Cygwin provide _wcsdup() under Windows
|
||||||
|
#if defined(__WINDOWS__) && !defined(__CYGWIN__)
|
||||||
#define wxCRT_StrdupW _wcsdup
|
#define wxCRT_StrdupW _wcsdup
|
||||||
#elif defined(HAVE_WCSDUP)
|
#elif defined(HAVE_WCSDUP)
|
||||||
#define wxCRT_StrdupW wcsdup
|
#define wxCRT_StrdupW wcsdup
|
||||||
|
Reference in New Issue
Block a user