Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / vm / os-windows-nt.h
blob1b680befadb375f49d2b467e85baadd556578348
1 #undef _WIN32_WINNT
2 #define _WIN32_WINNT 0x0501 // For AddVectoredExceptionHandler
4 #ifndef UNICODE
5 #define UNICODE
6 #endif
8 #include <windows.h>
10 typedef char F_SYMBOL;
12 #define unbox_symbol_string unbox_char_string
13 #define from_symbol_string from_char_string
15 #define FACTOR_OS_STRING "winnt"
16 #define FACTOR_DLL L"factor.dll"
17 #define FACTOR_DLL_NAME "factor.dll"
19 void c_to_factor_toplevel(CELL quot);
20 long exception_handler(PEXCEPTION_POINTERS pe);
21 bool console_open;
22 void open_console(void);