commit | e9f1c7981ae00ad25d59018c1df26897e2effdad | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Fri Mar 18 00:57:52 2016 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Mar 18 22:40:28 2016 -0400 |
tree | c42a756e09b9ccb21497bf88fb3e50cc90fe8379 | |
parent | 4aac019a0efd59011a48d031ad046c934c7e8365 [diff] |
deduplicate bits/mman.h currently five targets use the same mman.h constants and the rest share most constants too, so move them to sys/mman.h before the bits/mman.h include where the differences can be corrected by redefinition of the macros. this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most targets (it should be the same as MADV_DONTNEED), and sh defined the x86-only MAP_32BIT mmap flag.