From ab1437caac25c0dc8019dd2c1ed45ba528a63549 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 20 Jan 2002 16:09:06 +0000 Subject: [PATCH] under metrowerks mac strdup is not exported git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 7537bd055d..019add2a0f 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -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 -- 2.45.2