Added missing functions WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b7e8f408c9
commit
1dedb80b26
@ -119,6 +119,20 @@ license is as follows:
|
||||
|
||||
#include "wx/xpmdecod.h"
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
char* strdup(const char* s)
|
||||
{
|
||||
char* s2 = new char[strlen(s)];
|
||||
strcpy(s2, s);
|
||||
return s2;
|
||||
}
|
||||
|
||||
bool isspace(char c)
|
||||
{
|
||||
return (c == ' ');
|
||||
}
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
bool wxXPMDecoder::CanRead(wxInputStream& stream)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user