about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-03-11 12:44:39 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-15 18:59:23 +0100
commitae6b60cc5e4f9010d0ed928ca41633eba2e53ccb (patch)
treee31411f3349b67d6a7e219666a7f225c85c10a31 /ports
parent1e3803454e5ff517609c96166fcfaf966369920f (diff)
downloadglibc-ae6b60cc5e4f9010d0ed928ca41633eba2e53ccb.tar.gz
glibc-ae6b60cc5e4f9010d0ed928ca41633eba2e53ccb.tar.xz
glibc-ae6b60cc5e4f9010d0ed928ca41633eba2e53ccb.zip
Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.
Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.mips5
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/bits/mman.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index b8966b326d..be2e2d50ca 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -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
diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/mman.h b/ports/sysdeps/unix/sysv/linux/mips/bits/mman.h
index 883f947777..b327795f89 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/bits/mman.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/bits/mman.h
@@ -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 */