[Python-Dev] -DINET6 in Makefile (original) (raw)
Martin v. Loewis martin@v.loewis.de
Sat, 1 Dec 2001 02:07:19 +0100
- Next message: [Python-Dev] -DINET6 in Makefile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 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
- Next message: [Python-Dev] -DINET6 in Makefile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]