]> git.wh0rd.org Git - patches.git/blob - binutils-no-NBPG.patch
scummvm random work
[patches.git] / binutils-no-NBPG.patch
1 2007-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;