From 6631ac64bee62095049e4eaff68dee79c3fc9499 Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Fri, 26 Oct 2012 19:35:17 +0200 Subject: [PATCH] Fix the single-threaded Windows build For this release, we purport to support Windows without threads as an option. Make it so. --- src/runtime/win32-os.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/win32-os.c b/src/runtime/win32-os.c index f27f5ed..5aa33f7 100644 --- a/src/runtime/win32-os.c +++ b/src/runtime/win32-os.c @@ -54,6 +54,7 @@ #include #include +#include #include "validate.h" #include "thread.h" @@ -1304,6 +1305,7 @@ void scratch(void) UnmapViewOfFile(0); FlushViewOfFile(0,0); SetFilePointerEx(0, la, 0, 0); + DuplicateHandle(0, 0, 0, 0, 0, 0, 0); #ifndef LISP_FEATURE_SB_UNICODE CreateDirectoryA(0,0); CreateFileMappingA(0,0,0,0,0,0); -- 1.7.10.4