factor/vm/os-windows-ce.hpp

25 lines
468 B
C++
Raw Normal View History

2009-05-02 05:04:19 -04:00
#ifndef UNICODE
#define UNICODE
#endif
#include <windows.h>
#include <ctype.h>
typedef wchar_t F_SYMBOL;
#define FACTOR_OS_STRING "wince"
#define FACTOR_DLL L"factor-ce.dll"
#define FACTOR_DLL_NAME "factor-ce.dll"
int errno;
char *strerror(int err);
void flush_icache(CELL start, CELL end);
char *getenv(char *name);
#define snprintf _snprintf
#define snwprintf _snwprintf
s64 current_micros(void);
void c_to_factor_toplevel(CELL quot);
void open_console(void);