From 5bbbeff865d701dd949dce3be5a472b0be8381e1 Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Thu, 1 Dec 2005 19:29:54 +0000 Subject: [PATCH] Debug Mode for python witj _DEBUG flag --- dtool/src/interrogatedb/py_panda.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dtool/src/interrogatedb/py_panda.h b/dtool/src/interrogatedb/py_panda.h index e070f44484..0ab2e6bdcc 100755 --- a/dtool/src/interrogatedb/py_panda.h +++ b/dtool/src/interrogatedb/py_panda.h @@ -32,6 +32,10 @@ #include #include +#ifdef _DEBUG +#define Py_DEBUG +#endif + #ifndef NO_RUNTIME_TYPES #include "dtoolbase.h"