X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3678697093ecc4119b11046a1e2e47d862394ff4..d9e054bc6147fb286b6de2fcfe50e2ecf5649843:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index b0e76aeeee..9962127b6b 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -747,7 +747,7 @@ whereami(name) t = imagedir; if (!absolute_pathname(name)) { -#if defined(DOS) || defined(__WIN32__) +#if defined(__DOS__) || defined(__WIN32__) int drive; char *newrbuf; @@ -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 ) ;