aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/missing
diff options
context:
space:
mode:
authorNicolas Bacca2005-01-28 20:49:41 +0000
committerNicolas Bacca2005-01-28 20:49:41 +0000
commitc62d82450b7fc4d64bf6102cb8074457e3d0cb47 (patch)
tree8314153822145373e6614bcaf004cd9db483b9b5 /backends/wince/missing
parent1160e09fdc992439c9bfa956e9dd8a8e722ddbc9 (diff)
downloadscummvm-rg350-c62d82450b7fc4d64bf6102cb8074457e3d0cb47.tar.gz
scummvm-rg350-c62d82450b7fc4d64bf6102cb8074457e3d0cb47.tar.bz2
scummvm-rg350-c62d82450b7fc4d64bf6102cb8074457e3d0cb47.zip
Add isalnum for HPC compiler
svn-id: r16678
Diffstat (limited to 'backends/wince/missing')
-rw-r--r--backends/wince/missing/missing.cpp7
1 files changed, 7 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)