[MPlayer-dev-eng] (no subject)
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Mar 6 15:16:35 CET 2005
Hi,
On Tue, Feb 08, 2005 at 05:18:39PM -0800, Trent Piepho wrote:
> A recent change to the configure script added this to config.h:
>
> #define HAVE_SYS_MMAN_H 1
>
> #ifndef MAP_ANONYMOUS
> #define MAP_ANONYMOUS MAP_ANON
> #endif
>
> MAP_ANONYMOUS is defined in sys/mman.h, which is only included if config.h
> defines HAVE_SYS_MMAN_H. Since config.h must be before sys/mman.h,
> MAP_ANONYMOUS will never be defined and the ifndef check is pointless.
> config.h will always define MAP_ANONYMOUS, which will be re-defined when
> sys/mman.h is included on systems that have MAP_ANONYMOUS (like Linux).
Fixed in a different way some time ago...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list