From 506456d0146fd83c16e117ad2d543bdb828223dd Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Tue, 6 Jun 2006 19:31:49 +0000 Subject: update the CE port to work under 0.9.0 codebase svn-id: r22956 --- backends/wince/missing/assert.h | 3 ++- backends/wince/missing/missing.cpp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'backends/wince/missing') 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) { -- cgit v1.2.3