[Python-Dev] problems with SUSv2 compatibility defines
Sjoerd Mullender
sjoerd@oratrix.nl
Fri, 07 Jul 2000 11:40:34 +0200
The new defines in Python.h for SUSv2 compatibility seriously hamper
compilation on SGI IRIX.
The problem is that defining _XOPEN_SOURCE causes a number of common
but non-standard features to be removed. In particular, ctermid_r and
altzone are no longer defined. The former causes a warning
(assignment of int-returning function to char *), the latter causes an
error (altzone not defined).
Something needs to be done about this but I don't know what since I
don't know why the defines were necessary.
-- Sjoerd Mullender <sjoerd.mullender@oratrix.com>