]> git.saurik.com Git - wxWidgets.git/commitdiff
under metrowerks mac strdup is not exported
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 20 Jan 2002 16:09:06 +0000 (16:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 20 Jan 2002 16:09:06 +0000 (16:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 7537bd055dda72600abbaa45a08be34615f94c6d..019add2a0f3c47c0d0f2760591e4b65330969f65 100644 (file)
@@ -467,7 +467,9 @@ typedef unsigned __WCHAR_TYPE__ wxUChar;
 #    define  wxStrcoll   strcoll
 #    define  wxStrcpy    strcpy
 #    define  wxStrcspn   strcspn
+#if !defined(__MWERKS__) || !defined(__WXMAC__)
 #    define  wxStrdup    strdup
+#endif
 #    define  wxStrlen_   strlen // used in wxStrlen inline function
 #    define  wxStrncat   strncat
 #    define  wxStrncmp   strncmp