2009-05-02 05:04:19 -04:00
|
|
|
#ifndef UNICODE
|
|
|
|
#define UNICODE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
{
|
|
|
|
|
2009-05-02 05:04:19 -04:00
|
|
|
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);
|
2009-05-04 02:46:13 -04:00
|
|
|
|
|
|
|
}
|