From 2d67ae923d11d766d9a6cea714fa487b52579f6a Mon Sep 17 00:00:00 2001 From: Trutz Behn Date: Wed, 28 Jan 2015 18:46:52 +0100 Subject: move MREMAP_MAYMOVE and MREMAP_FIXED out of bits the definitions are generic for all kernel archs. exposure of these macros now only occurs on the same feature test as for the function accepting them, which is believed to be more correct. --- include/sys/mman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sys/mman.h b/include/sys/mman.h index a34448a6..9fc2db51 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -32,6 +32,8 @@ int mlockall (int); int munlockall (void); #ifdef _GNU_SOURCE +#define MREMAP_MAYMOVE 1 +#define MREMAP_FIXED 2 void *mremap (void *, size_t, size_t, int, ...); int remap_file_pages (void *, size_t, int, size_t, int); #endif -- cgit 1.4.1