From fc899160020d083814f44e1325855cf7122a5406 Mon Sep 17 00:00:00 2001 From: Slaren <2141330+slaren@users.noreply.github.com> Date: Sat, 15 Apr 2023 19:54:56 +0200 Subject: [PATCH] Fix windows build --- llama_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_util.h b/llama_util.h index da900a5e4..6531d0dad 100755 --- a/llama_util.h +++ b/llama_util.h @@ -196,7 +196,7 @@ struct llama_mmap { #elif defined(_WIN32) static constexpr bool SUPPORTED = true; - llama_mmap(struct llama_file * file) { + llama_mmap(struct llama_file * file, bool prefetch = true) { size = file->size; HANDLE hFile = (HANDLE) _get_osfhandle(_fileno(file->fp));