specific workaround for XCODE native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -637,7 +637,11 @@
|
|||||||
#ifdef HAVE_WCSLEN
|
#ifdef HAVE_WCSLEN
|
||||||
#define wxWcslen wcslen
|
#define wxWcslen wcslen
|
||||||
#else
|
#else
|
||||||
static inline size_t wxWcslen(const wchar_t *s)
|
#if defined( __WXMAC_XCODE__ ) && !defined( __cplusplus )
|
||||||
|
/* xcode native targets are giving multiply defined symbols on regex */
|
||||||
|
static
|
||||||
|
#endif
|
||||||
|
inline size_t wxWcslen(const wchar_t *s)
|
||||||
{
|
{
|
||||||
size_t n = 0;
|
size_t n = 0;
|
||||||
while ( *s++ )
|
while ( *s++ )
|
||||||
|
Reference in New Issue
Block a user