aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/missing
diff options
context:
space:
mode:
authorKostas Nakos2006-06-06 19:31:49 +0000
committerKostas Nakos2006-06-06 19:31:49 +0000
commit506456d0146fd83c16e117ad2d543bdb828223dd (patch)
tree516bd8ef65299c6c6f24f133a3dad2398d2b4a2f /backends/wince/missing
parent318770280c22788f866b0228b1e6a68f7d1913db (diff)
downloadscummvm-rg350-506456d0146fd83c16e117ad2d543bdb828223dd.tar.gz
scummvm-rg350-506456d0146fd83c16e117ad2d543bdb828223dd.tar.bz2
scummvm-rg350-506456d0146fd83c16e117ad2d543bdb828223dd.zip
update the CE port to work under 0.9.0 codebase
svn-id: r22956
Diffstat (limited to 'backends/wince/missing')
-rw-r--r--backends/wince/missing/assert.h3
-rw-r--r--backends/wince/missing/missing.cpp5
2 files changed, 7 insertions, 1 deletions
diff --git a/backends/wince/missing/assert.h b/backends/wince/missing/assert.h
index 509837c972..0a9dc23bb8 100644
--- a/backends/wince/missing/assert.h
+++ b/backends/wince/missing/assert.h
@@ -1,6 +1,7 @@
/* Header is not present in Windows CE SDK */
-#include "common/util.h"
+// defined in common/util.h
+void CDECL _declspec(noreturn) error(const char *s, ...);
#define assert(e) ((e) ? 0 : (::error("Assertion failed " #e " (%s, %d)", __FILE__, __LINE__)))
diff --git a/backends/wince/missing/missing.cpp b/backends/wince/missing/missing.cpp
index 49f3d7339b..e85babc13f 100644
--- a/backends/wince/missing/missing.cpp
+++ b/backends/wince/missing/missing.cpp
@@ -287,6 +287,11 @@ char *getcwd(char *buffer, int maxlen)
return cwd;
}
+void GetCurrentDirectory(int len, char *buf)
+{
+ getcwd(buf,len);
+};
+
/* Limited implementation of time.h. time_t formula is possibly incorrect. */
time_t time(time_t* res)
{