[csw-maintainers] map-file getpagesizes vs. getpagesizes2
Juraj Lutter
wilbury at opencsw.org
Thu Oct 18 18:38:40 CEST 2012
On 10/18/2012 05:41 PM, Jan Holzhueter wrote:
>
> Hi,
> I have a funny problem again:
>
> /usr/include/sys/mman.h
>
> defines this:
> #ifdef __PRAGMA_REDEFINE_EXTNAME
> #pragma redefine_extname getpagesizes getpagesizes2
> #else
> #define getpagesizes getpagesizes2
> #endif
>
> Which if I'm not wrong results in all getpagesizes calls be remapped to
> getpagesizes2 which the mapfile of libc does not allow since this is in
> version 1.22.5
>
> Since I'm not good at this stuff. How do I unset this pragma?
> I would guess I should unset it in the code that uses getpagesizes?
try to #define __STDC__
just my wild guess.
--
Juraj Lutter <wilbury at opencsw.org>
More information about the maintainers
mailing list