fix msvc6 warnings

svn path=/trunk/; revision=20583
This commit is contained in:
Royce Mitchell III 2006-01-05 16:32:49 +00:00
parent c1cfa41da9
commit cfbb45181b

View file

@ -243,8 +243,8 @@ MSVCBackend::_generate_vcproj ( const Module& module )
{
std::string& cfg = cfgs[icfg];
bool debug = strstr ( cfg.c_str(), "Debug" );
bool speed = strstr ( cfg.c_str(), "Speed" );
bool debug = strstr ( cfg.c_str(), "Debug" ) != NULL;
bool speed = strstr ( cfg.c_str(), "Speed" ) != NULL;
bool release = (!debug && !speed );
//bool msvc_headers = ( 0 != strstr ( cfg.c_str(), "MSVC Headers" ) );