]> git.saurik.com Git - wxWidgets.git/commitdiff
on xcode native we end up with several definitions otherwise
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 26 Apr 2004 05:20:52 +0000 (05:20 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 26 Apr 2004 05:20:52 +0000 (05:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 8929299d840d155b074171549fc5527fde9e2fc4..5b5d4d3f426c211fafb32199661331fabbf81304 100644 (file)
     #ifdef HAVE_WCSLEN
         #define wxWcslen wcslen
     #else
-        inline size_t wxWcslen(const wchar_t *s)
+        static inline size_t wxWcslen(const wchar_t *s)
         {
             size_t n = 0;
             while ( *s++ )