From 954b8f38958de72c4712088735eb175118f17b51 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 16 Aug 2022 15:18:11 +0200 Subject: Expose all MAP_ constants in unconditionally (bug 29375) POSIX reserves the MAP_ prefix for , so there is no need to conditionalize their definitions on feature test macros. --- sysdeps/unix/sysv/linux/x86/bits/mman.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/x86/bits') diff --git a/sysdeps/unix/sysv/linux/x86/bits/mman.h b/sysdeps/unix/sysv/linux/x86/bits/mman.h index 877be77336..e03227cc31 100644 --- a/sysdeps/unix/sysv/linux/x86/bits/mman.h +++ b/sysdeps/unix/sysv/linux/x86/bits/mman.h @@ -24,9 +24,7 @@ But the kernel header is not namespace clean. */ /* Other flags. */ -#ifdef __USE_MISC -# define MAP_32BIT 0x40 /* Only give out 32-bit addresses. */ -#endif +#define MAP_32BIT 0x40 /* Only give out 32-bit addresses. */ #include -- cgit 1.4.1