removing reliance on NBPG/UPAGES in bfd/trad-core.c
Nick Clifton
nickc@redhat.com
Thu Mar 15 11:51:00 GMT 2007
Hi Mike,
> so i come at this from a linux point of view where doing simply
> s/NBPG/getpagesize()/ is OK ... is there any other system i need to consider
> for this ?
Yes probably. Older BSD systems maybe, or some other unix-derived OSes.
> 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.
Cheers
Nick
More information about the Binutils
mailing list