Fix dbgutil build of pyuno
Whether things actually work when pyuno is built against the debugging runtime, but the internal Python (to the best of my knowledge) still against the normal one, I don't know. But anyway, this makes the build succeed here.
This commit is contained in:
@@ -6,13 +6,7 @@
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(push, 1)
|
||||
#endif
|
||||
#ifdef _DEBUG
|
||||
#undef _DEBUG
|
||||
#include <Python.h>
|
||||
#define _DEBUG
|
||||
#else
|
||||
#include <Python.h>
|
||||
#endif // #ifdef _DEBUG
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user