From 5f95a1a7b71164a238a70a5c71420d1803850440 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 28 Oct 2021 22:12:35 +0300 Subject: [PATCH] LibC: Define the MADV_DONTNEED madvise advice macro This isn't actually implemented at the moment, but it is required for wine to compile --- Kernel/API/POSIX/sys/mman.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/API/POSIX/sys/mman.h b/Kernel/API/POSIX/sys/mman.h index bb37c481ac..519ed184fc 100644 --- a/Kernel/API/POSIX/sys/mman.h +++ b/Kernel/API/POSIX/sys/mman.h @@ -33,6 +33,7 @@ extern "C" { #define MADV_SET_VOLATILE 0x1 #define MADV_SET_NONVOLATILE 0x2 +#define MADV_DONTNEED 0x3 #define MS_SYNC 1 #define MS_ASYNC 2