aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/missing/missing.cpp7
-rw-r--r--backends/wince/portdefs.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/backends/wince/missing/missing.cpp b/backends/wince/missing/missing.cpp
index 0b3218d3cf..de4fc8a07b 100644
--- a/backends/wince/missing/missing.cpp
+++ b/backends/wince/missing/missing.cpp
@@ -245,6 +245,13 @@ void rewind(FILE *stream)
#if _WIN32_WCE < 300
+
+int isalnum(int c) {
+ return ((c >= 'A' && c <= 'Z') ||
+ (c >= 'a' && c <= 'z') ||
+ (c >= '0' && c <= '9'));
+}
+
char *_strdup(const char *strSource)
#else
char *strdup(const char *strSource)
diff --git a/backends/wince/portdefs.h b/backends/wince/portdefs.h
index ead2437586..154e4d2cf7 100644
--- a/backends/wince/portdefs.h
+++ b/backends/wince/portdefs.h
@@ -26,6 +26,7 @@
#define _HEAPOK 0
void *calloc(size_t n, size_t s);
+int isalnum(int c);
int isdigit(int c);
int isprint(int c);
int isspace(int c);