Index: /branches/win64/lisp-kernel/memory.c
===================================================================
--- /branches/win64/lisp-kernel/memory.c	(revision 9650)
+++ /branches/win64/lisp-kernel/memory.c	(revision 9651)
@@ -222,4 +222,9 @@
 #endif
 #ifdef WINDOWS
+  if ((start < ((LogicalAddress)nil_value)) &&
+      (((LogicalAddress)nil_value) < (start+len))) {
+    /* nil area is in the executable on Windows, do nothing */
+    return true;
+  }
   rc = VirtualAlloc(start, len, MEM_COMMIT, PAGE_EXECUTE_READWRITE);
   if (!rc) {
@@ -351,5 +356,6 @@
 
 int
-MapFile(LogicalAddress addr, natural pos, natural nbytes, int permissions, int fd) {
+MapFile(LogicalAddress addr, natural pos, natural nbytes, int permissions, int fd) 
+{
 #ifdef WINDOWS
 #if 0
