]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows-nt.cpp
Safe SEH is better than abstinence
[factor.git] / vm / os-windows-nt.cpp
index 4f90d7f641d24ed5bfe34d85c6356aa8f8062d1f..711b2a8445a02679ee806cd5268db52691544884 100755 (executable)
@@ -87,7 +87,7 @@ LONG factor_vm::exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c,
        return ExceptionContinueExecution;
 }
 
-LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch)
+extern "C" LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch)
 {
        return current_vm()->exception_handler(e,frame,c,dispatch);
 }