BUG: make it compile on vs 6

This commit is contained in:
Bill Hoffman 2008-01-08 08:25:07 -05:00
parent 7f406eed93
commit 4b166fc319
1 changed files with 3 additions and 3 deletions

View File

@ -761,7 +761,7 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile,
* source is compiled twice * source is compiled twice
* -SunPro * -SunPro
*/ */
if(std::strcmp(compilerId, "SunPro") == 0) if(strcmp(compilerId, "SunPro") == 0)
{ {
return cmSystemTools::FilesDiffer(modFile, stampFile); return cmSystemTools::FilesDiffer(modFile, stampFile);
} }
@ -787,7 +787,7 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile,
* Eat the stream content until all recompile only realated changes * Eat the stream content until all recompile only realated changes
* are left bedind. * are left bedind.
*/ */
if (std::strcmp(compilerId, "GNU") == 0 ) if (strcmp(compilerId, "GNU") == 0 )
{ {
const char seq[1] = {'\n'}; const char seq[1] = {'\n'};
const int seqlen = 1; const int seqlen = 1;
@ -806,7 +806,7 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile,
return true; return true;
} }
} }
else if(std::strcmp(compilerId, "Intel") == 0) else if(strcmp(compilerId, "Intel") == 0)
{ {
const char seq[2] = {'\n', '\0'}; const char seq[2] = {'\n', '\0'};
const int seqlen = 2; const int seqlen = 2;