A pragma uses it in the python include files for debug builds. I've worked around it by the following: #ifdef _DEBUG #undef _DEBUG #include "Python.h" #define _DEBUG #else #include "Python.h" #endif But it would be nice to use it if I know where to get it from. Thanks, -Dan