]> gitweb.factorcode.org Git - factor.git/blob - vm/os-windows-ce.hpp
892fc88be9870937490a508c3ae2a3691f86ca42
[factor.git] / vm / os-windows-ce.hpp
1 #ifndef UNICODE
2 #define UNICODE
3 #endif
4
5 #include <windows.h>
6 #include <ctype.h>
7
8 namespace factor
9 {
10
11 typedef wchar_t symbol_char;
12
13 #define FACTOR_OS_STRING "wince"
14 #define FACTOR_DLL L"factor-ce.dll"
15
16 int errno;
17 char *strerror(int err);
18 void flush_icache(cell start, cell end);
19 char *getenv(char *name);
20
21 #define snprintf _snprintf
22 #define snwprintf _snwprintf
23
24 void c_to_factor_toplevel(cell quot);
25 void open_console();
26
27 }