[PATCH, libbacktrace]: Fix compilation on CentOS 5.8

Andreas Schwab schwab@linux-m68k.org
Tue Sep 18 14:23:00 GMT 2012


Ian Lance Taylor <iant@google.com> writes:

> mmapio.c uses _GNU_SOURCE so that getpagesize is available on GNU/Linux systems.

That should be available by default (which includes BSD things) unless
the namespace has been restricted in some other way.

There's of course also the POSIX way of using sysconf(_SC_PAGESIZE).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list