[Python-Dev] -DINET6 in Makefile

Martin v. Loewis martin@v.loewis.de
Sat, 1 Dec 2001 02:07:19 +0100


> > > Shouldn't the define be placed into the pyconfig.h file or
> > > only in those extensions which need it ?
> > 
> > Wouldn't it cause the same trouble there?
> 
> No, because the pyconfig.h import is under extension control
> (e.g. you can first include the system or lib header files 
> and only then import pyconfig.h).

Of course, doing so would be really stupid. Python.h *must* be the
first include, or things may break.

Regards,
Martin