[Libreoffice-commits] .: pyuno/inc

Tor Lillqvist tml at kemper.freedesktop.org
Mon Aug 22 13:57:46 PDT 2011


 pyuno/inc/pyuno/pyuno.hxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Mon Aug 22 23:54:48 2011 +0300

    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.

diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx
index e1bac60..e3db6ac 100644
--- a/pyuno/inc/pyuno/pyuno.hxx
+++ b/pyuno/inc/pyuno/pyuno.hxx
@@ -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


More information about the Libreoffice-commits mailing list