From: <mg...@us...> - 2009-02-25 11:24:30
|
Revision: 32120 http://crystal.svn.sourceforge.net/crystal/?rev=32120&view=rev Author: mgist Date: 2009-02-25 11:24:22 +0000 (Wed, 25 Feb 2009) Log Message: ----------- - Fixed release mode compile errors in cspython. Modified Paths: -------------- CS/trunk/plugins/cscript/cspython/cspython.cpp CS/trunk/plugins/cscript/cspython/pytocs.cpp Modified: CS/trunk/plugins/cscript/cspython/cspython.cpp =================================================================== --- CS/trunk/plugins/cscript/cspython/cspython.cpp 2009-02-25 11:06:30 UTC (rev 32119) +++ CS/trunk/plugins/cscript/cspython/cspython.cpp 2009-02-25 11:24:22 UTC (rev 32120) @@ -20,7 +20,7 @@ #ifdef _MSC_VER #include <io.h> #include <stdarg.h> -#ifndef DEBUG_PYTHON +#if defined(_DEBUG) && !defined(DEBUG_PYTHON) #undef _DEBUG #define RESTORE__DEBUG #endif Modified: CS/trunk/plugins/cscript/cspython/pytocs.cpp =================================================================== --- CS/trunk/plugins/cscript/cspython/pytocs.cpp 2009-02-25 11:06:30 UTC (rev 32119) +++ CS/trunk/plugins/cscript/cspython/pytocs.cpp 2009-02-25 11:24:22 UTC (rev 32120) @@ -20,7 +20,7 @@ #ifdef _MSC_VER #include <io.h> #include <stdarg.h> -#ifndef DEBUG_PYTHON +#if defined(_DEBUG) && !defined(DEBUG_PYTHON) #undef _DEBUG #define RESTORE__DEBUG #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |