diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index d3b40dcee..d6beded74 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -30,9 +30,18 @@ #if defined(__APPLE__) && (!defined(B3_NO_PYTHON_FRAMEWORK)) #include #else +#ifdef _WIN32 + #ifdef _DEBUG + #define BT_REMOVED_DEBUG + //always use the release build of Python + #undef _DEBUG + #endif //_DEBUG +#endif #include #endif - +#ifdef BT_REMOVED_DEBUG + #define _DEBUG +#endif #include "../Importers/ImportURDFDemo/urdfStringSplit.h" #ifdef B3_DUMP_PYTHON_VERSION