[Python-Dev] [Python-checkins] r46064 - in python/trunk: Include/Python.h Include/pyport.h Misc/ACKS Misc/NEWS Modules/_localemodule.c Modules/main.c Modules/posixmodule.c Modules/sha512module.c PC/pyconfig.h Python/thread_nt.h (original) (raw)

Neal Norwitz nnorwitz at gmail.com
Tue May 23 07:52:12 CEST 2006


On 5/22/06, martin.v.loewis <python-checkins at python.org> 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 DONTHAVEERRNOH #include <errno.h> +#endif #include <stdlib.h> #ifdef HAVEUNISTDH #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



More information about the Python-Dev mailing list