]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows-nt.hpp
Get green threads working on Windows
[factor.git] / vm / os-windows-nt.hpp
index f274d7813fc5be06a9248fd61e8198d068a95e43..d84ac972982991b63c83d90704afb9ce6135603c 100755 (executable)
@@ -22,13 +22,7 @@ typedef char symbol_char;
 
 #define FACTOR_DLL NULL
 
-#ifdef _MSC_VER
-       #define FACTOR_STDCALL(return_type) return_type __stdcall
-#else
-       #define FACTOR_STDCALL(return_type) __attribute__((stdcall)) return_type
-#endif
-
-FACTOR_STDCALL(LONG) exception_handler(PEXCEPTION_POINTERS pe);
+LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch);
 
 // SSE traps raise these exception codes, which are defined in internal NT headers
 // but not winbase.h