diff --git a/mongoose.c b/mongoose.c index 747f8188..a7fea61b 100644 --- a/mongoose.c +++ b/mongoose.c @@ -3856,6 +3856,7 @@ static void *mmap(void *addr, int64_t len, int prot, int flags, int fd, } #define munmap(x, y) UnmapViewOfFile(x) #define MAP_FAILED NULL +#define MAP_PRIVATE 0 #define PROT_READ 0 #else #include