From 2a039701a8aebaf8eb7e7cbc408dbb994661975f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 27 Apr 2004 17:15:02 +0000 Subject: [PATCH] specific workaround for XCODE native git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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++ ) -- 2.45.2