]> gitweb.factorcode.org Git - factor.git/blob - vm/os-windows-ce.hpp
vm: Tweak Factor VM to compile with Microsoft Visual Studio on Windows, in addition...
[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 u64 system_micros();
25 void c_to_factor_toplevel(cell quot);
26 void open_console();
27
28 }