]> git.saurik.com Git - wxWidgets.git/commitdiff
specific workaround for XCODE native
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Apr 2004 17:15:02 +0000 (17:15 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Apr 2004 17:15:02 +0000 (17:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 5b5d4d3f426c211fafb32199661331fabbf81304..4b5c712f6c3b495597302c601f41b591ca83a040 100644 (file)
     #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++ )