
Nov. 30, 2001
5:07 p.m.
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