This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
On Thursday 15 March 2007, Nick Clifton wrote: > > if so, a better change might be to put after the includes: > > #ifndef NBPG > > # define NBPG getpagesize() > > #endif > > I think that this would be safer. attached then, OK to commit ? -mike
Attachment:
pgp00000.pgp
Description: PGP signature
2007-03-16 Mike Frysinger <vapier@gentoo.org> * trad-core.c (NBPG): If not defined, set to getpagesize(). --- bfd/trad-core.c +++ bfd/trad-core.c @@ -47,6 +47,10 @@ Foundation, Inc., 51 Franklin Street - F #include TRAD_HEADER #endif +#ifndef NBPG +# define NBPG getpagesize() +#endif + struct trad_core_struct { asection *data_section;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |