Date: Wed, 13 Aug 2014 16:43:58 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Cc: u-igbb@...ey.se Subject: Re: compiling musl on x86_64 linux with ppc * Rich Felker <dalias@...c.org> [2014-08-13 10:23:32 -0400]: > BTW about the mmap2 preprocessor issue, did you raise that with ppc > developers too? I think it's a bug on their side but I'm not 100% > sure. If the code in musl is not valid C I'll change it, but if it is, it is not valid c http://port70.net/~nsz/c/c99/n1256.html#6.10.3p11 i'd fix it like +#ifndef SYS_mmap2 +#define SYS_mmap2 SYS_mmap +#endif mem = (void *)__syscall( -#ifdef SYS_mmap2 SYS_mmap2, -#else - SYS_mmap, -#endif
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.