]> git.saurik.com Git - wxWidgets.git/commitdiff
added correct wchar include for metrowerks compilers
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 20 Oct 2001 08:07:47 +0000 (08:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 20 Oct 2001 08:07:47 +0000 (08:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index cb07176438d577cb594f7b76e49ef5e996e3086f..1ac1585756baa6c447c16e61808e4fc50007c8e9 100644 (file)
     // time.h functions  -- none defined in tchar.h
     #define  wxAsctime   asctime
     #define  wxCtime     ctime
+#elif defined(__MWERKS__)
+    // for wcslen
+    #if wxUSE_WCHAR_T
+    #include <wchar.h>
+    #endif
 #endif // compilers with (good) TCHAR support
 
 #ifdef wxHAVE_TCHAR_FUNCTIONS