removed duplicate strdup definition for CW MSL V 7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
337b24541e
commit
4b0b35f185
@ -987,11 +987,12 @@ wxColour wxGetColourFromUser(wxWindow *parent, const wxColour& colInit)
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#if __MSL__ < 0x7000
|
||||
char *strdup(const char *s)
|
||||
{
|
||||
return strcpy( (char*) malloc( strlen( s ) + 1 ) , s ) ;
|
||||
}
|
||||
|
||||
#endif
|
||||
int isascii( int c )
|
||||
{
|
||||
return ( c >= 0 && c < 128 ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user