diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-28 22:12:35 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-12-01 21:44:11 +0200 |
commit | 5f95a1a7b71164a238a70a5c71420d1803850440 (patch) | |
tree | f0d0b92a6c90bd6924ca3b841e19e4e7d70600d9 /Kernel/API | |
parent | fc13d0782fd50bb038a717e310b6d94acc7ed523 (diff) | |
download | serenity-5f95a1a7b71164a238a70a5c71420d1803850440.zip |
LibC: Define the MADV_DONTNEED madvise advice macro
This isn't actually implemented at the moment, but it is required for
wine to compile
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/POSIX/sys/mman.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |