]> git.wh0rd.org - patches.git/blame - binutils-no-NBPG.patch
more random patches. who knows.
[patches.git] / binutils-no-NBPG.patch
CommitLineData
5e993f12 12007-03-16 Mike Frysinger <vapier@gentoo.org>
2
3 * trad-core.c (NBPG): If not defined, set to getpagesize().
4
5--- bfd/trad-core.c
6+++ bfd/trad-core.c
7@@ -47,6 +47,10 @@ Foundation, Inc., 51 Franklin Street - F
8 #include TRAD_HEADER
9 #endif
10
11+#ifndef NBPG
12+# define NBPG getpagesize()
13+#endif
14+
15 struct trad_core_struct
16 {
17 asection *data_section;