diff options
Diffstat (limited to 'backends/wince/missing')
| -rw-r--r-- | backends/wince/missing/assert.h | 3 | ||||
| -rw-r--r-- | backends/wince/missing/missing.cpp | 5 |
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) { |
