]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing functions WinCE
authorJulian Smart <julian@anthemion.co.uk>
Tue, 15 Jul 2003 11:48:15 +0000 (11:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 15 Jul 2003 11:48:15 +0000 (11:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/xpmdecod.cpp

index 4b4e47e045eb2abf31da476a0fcfd802427a97ee..70c19c20ae5e85b0a7a6c8c136253d27608c38a1 100644 (file)
@@ -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)
 {