On 5/22/06, martin.v.loewis <[EMAIL PROTECTED]> wrote: > Author: martin.v.loewis > Date: Mon May 22 11:15:18 2006 > New Revision: 46064 > > Modified: python/trunk/Include/Python.h > ============================================================================== > --- python/trunk/Include/Python.h (original) > +++ python/trunk/Include/Python.h Mon May 22 11:15:18 2006 > @@ -35,7 +35,9 @@ > #endif > > #include <string.h> > +#ifndef DONT_HAVE_ERRNO_H > #include <errno.h> > +#endif > #include <stdlib.h> > #ifdef HAVE_UNISTD_H > #include <unistd.h>
What is the reason for the DONT_HAVE_* macros? Can we use the HAVE_* versions? There only seem to be 22 occurrences total: Include/pyport.h:6 Modules/arraymodule.c:2 Modules/getbuildinfo.c:1 Modules/selectmodule.c:1 Objects/fileobject.c:3 PC/pyconfig.h:2 Python/ceval.c:1 Python/mystrtoul.c:1 Python/strtod.c:1 Python/thread.c:1 RISCOS/pyconfig.h:3 n _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com