Use _strdup under WinCE/eVC++

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-10-09 19:56:46 +00:00
parent 7c9b17c1d1
commit e761df38aa

View File

@ -550,7 +550,11 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
return true;
}
#ifdef __WXWINCE__
name = _strdup(inname);
#else
name = strdup(inname);
#endif
// theRGBRecords[] has no names with spaces, and no grey, but a
// lot of gray...