COMP: Fix build on VS6.

This commit is contained in:
Brad King 2008-01-10 09:46:04 -05:00
parent d53a7a38a1
commit 564a23c6ba
1 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ struct cmDependsFortranParser_s
int OldStartcond;
std::set<std::string> PPDefinitions;
std::size_t InPPFalseBranch;
size_t InPPFalseBranch;
std::stack<bool> SkipToEnd;
// Information about the parsed source.
@ -148,13 +148,13 @@ cmDependsFortran
for(std::vector<std::string>::const_iterator
it = definitions.begin(); it != definitions.end(); ++it)
{
std::size_t match = it->find("-D");
std::string::size_type match = it->find("-D");
if(match != std::string::npos)
{
std::size_t assignment = it->find("=");
std::string::size_type assignment = it->find("=");
if(assignment != std::string::npos)
{
std::size_t length = assignment - (match+2);
std::string::size_type length = assignment - (match+2);
def = it->substr(match+2, length);
}
else