X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2e5616e067362c41c8103338323e0dab3a53f1e..22bfe96ca6b7248ab8161ec97963bca8e3be963e:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 5b5d4d3f42..4b5c712f6c 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -637,7 +637,11 @@ #ifdef HAVE_WCSLEN #define wxWcslen wcslen #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; while ( *s++ )