This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! On Wed, 06 Mar 2013 16:47:58 +0100, Andreas Jaeger <aj@suse.com> wrote: > 2013-03-06 Andreas Jaeger <aj@suse.de> > > * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow > definition via __MAP_ANONYMOUS. > > ChangeLog.mips: > * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines > provided by bits/mman-linux.h and include <bits/mman-linux.h>. > (__MAP_ANONYMOUS): Define. With the current master branch (including this change as commit 664a9ce4ca40feabff781fff044c93a43ae15b59), I get redefinition warnings for MAP_ANONYMOUS; solved by the following patch. OK to push? ports/ChangeLog.mips * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Don't define. diff --git ports/sysdeps/unix/sysv/linux/mips/bits/mman.h ports/sysdeps/unix/sysv/linux/mips/bits/mman.h index 883f947..b327795 100644 --- ports/sysdeps/unix/sysv/linux/mips/bits/mman.h +++ 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 */ GrÃÃe, Thomas
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |