mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Expose all MAP_ constants in <sys/mman.h> unconditionally (bug 29375)
POSIX reserves the MAP_ prefix for <sys/mman.h>, so there is no need to conditionalize their definitions on feature test macros.
This commit is contained in:
@ -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 <bits/mman-map-flags-generic.h>
|
||||
|
||||
|
Reference in New Issue
Block a user