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:
parent
7c9b17c1d1
commit
e761df38aa
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user