From ae6b60cc5e4f9010d0ed928ca41633eba2e53ccb Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 11 Mar 2013 12:44:39 +0100 Subject: Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux. Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59. --- ports/ChangeLog.mips | 5 +++++ ports/sysdeps/unix/sysv/linux/mips/bits/mman.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ports') diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index b8966b3..be2e2d5 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,8 @@ +2013-03-15 Thomas Schwinge + + * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC] + (MAP_ANONYMOUS): Don't define. + 2013-03-06 Andreas Jaeger * 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 883f947..b327795 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 */ -- cgit v1.1