[Python-Dev] Python 2.3b1 _XOPEN_SOURCE value from configure.in

Martin v. Löwis martin@v.loewis.de
13 May 2003 22:57:22 +0200


Marc Recht <marc@informatik.uni-bremen.de> writes:

> Defining __EXTENSIONS__ could also help. IIRC it works just like
> _GNU_SOURCE/_NETBSD_SOURCE.

We do define __EXTENSIONS__, this is not the issue. We define
_XOPEN_SOURCE to 600 on all systems, because that is the highest value
specified by any X/Open spec today. The system may not support all of
the latest Posix features; this is not problem because we
autoconfiscate them.

The problem really only occurs if somebody thinks they need to define
_XOPEN_SOURCE to some other value; the compiler will then complain.

Regards,
Martin