From 56f69d54faea99a58828c2077c42fccc1303e490 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 5 Jul 2003 19:46:22 +0000 Subject: [PATCH] moved c-runtime functions for CW to wxchar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 4b732fd498..5a91c57e8f 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -830,20 +830,6 @@ wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit) } #endif // wxUSE_FONTDLG -// ---------------------------------------------------------------------------- -// missing C RTL functions (FIXME shouldn't be here at all) -// ---------------------------------------------------------------------------- - -#if defined( __MWERKS__ ) && !defined(__MACH__) -char *strdup(const char *s) -{ - return strcpy( (char*) malloc( strlen( s ) + 1 ) , s ) ; -} -int isascii( int c ) -{ - return ( c >= 0 && c < 128 ) ; -} -#endif // __MWERKS__ // ---------------------------------------------------------------------------- // wxSafeYield and supporting functions -- 2.45.2