| Index: third_party/swig/Lib/python/pyruntime.swg
|
| ===================================================================
|
| --- third_party/swig/Lib/python/pyruntime.swg (revision 40423)
|
| +++ third_party/swig/Lib/python/pyruntime.swg (working copy)
|
| @@ -7,7 +7,12 @@
|
| // Make sure our project, which uses the latter, doesn't trigger the
|
| // former since we don't want to debug python itself.
|
| // (http://old.nabble.com/problems-with-python24_d.lib-td4760095.html#a4760095)
|
| +// Also, disable a check in MSVC when building for Multi-threaded Debug DLL
|
| +// that complains about mix of headers with and without _DEBUG.
|
| #ifdef _DEBUG
|
| +#if defined(_MSC_VER) && _MSC_VER >= 1400
|
| +#define _CRT_NOFORCE_MANIFEST 1
|
| +#endif
|
| #undef _DEBUG
|
| #include <Python.h>
|
| #define _DEBUG
|
|
|