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:
@@ -550,7 +550,11 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __WXWINCE__
|
||||||
|
name = _strdup(inname);
|
||||||
|
#else
|
||||||
name = strdup(inname);
|
name = strdup(inname);
|
||||||
|
#endif
|
||||||
|
|
||||||
// theRGBRecords[] has no names with spaces, and no grey, but a
|
// theRGBRecords[] has no names with spaces, and no grey, but a
|
||||||
// lot of gray...
|
// lot of gray...
|
||||||
|
Reference in New Issue
Block a user