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