Index: /branches/win64/lisp-kernel/x86-exceptions.c
===================================================================
--- /branches/win64/lisp-kernel/x86-exceptions.c	(revision 9663)
+++ /branches/win64/lisp-kernel/x86-exceptions.c	(revision 9664)
@@ -38,5 +38,9 @@
 #include <sys/syslog.h>
 #endif
-
+#ifdef WINDOWS
+#include <windows.h>
+#include <winternl.h>
+#include <ntstatus.h>
+#endif
 
 int
@@ -944,5 +948,12 @@
     return handle_fault(tcr, context, info, old_valence);
 #endif    
-    
+
+#ifdef WINDOWS
+  case DBG_PRINTEXCEPTION_C:
+    // Somebody is trying to write debug output.  Ignore for now.
+    // FIXME: pass as condition to Lisp
+    return true;
+#endif
+
   default:
     return false;
@@ -1506,4 +1517,6 @@
   case EXCEPTION_IN_PAGE_ERROR:
     return SIGBUS;
+  case DBG_PRINTEXCEPTION_C:
+    return DBG_PRINTEXCEPTION_C;
   default:
     return -1;
