Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.

Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59.
This commit is contained in:
Thomas Schwinge 2013-03-11 12:44:39 +01:00
parent 1e3803454e
commit ae6b60cc5e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
(MAP_ANONYMOUS): Don't define.
2013-03-06 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines

View File

@ -26,7 +26,6 @@
/* These are Linux-specific. */
#ifdef __USE_MISC
# define MAP_NORESERVE 0x0400 /* don't check for reservations */
# define MAP_ANONYMOUS 0x0800 /* don't use a file */
# define MAP_GROWSDOWN 0x1000 /* stack-like segment */
# define MAP_DENYWRITE 0x2000 /* ETXTBSY */
# define MAP_EXECUTABLE 0x4000 /* mark it as an executable */