COMP: Fix compile problem on windows and mac
This commit is contained in:
parent
9740913dd8
commit
2ed1ca11bc
|
@ -2442,8 +2442,8 @@ std::string SystemTools::RelativePath(const char* local, const char* remote)
|
||||||
&&
|
&&
|
||||||
// for windows and apple do a case insensitive string compare
|
// for windows and apple do a case insensitive string compare
|
||||||
#if defined(_WIN32) || defined(__APPLE__)
|
#if defined(_WIN32) || defined(__APPLE__)
|
||||||
cmSystemTools::Strucmp(localSplit[sameCount].c_str(),
|
SystemTools::Strucmp(localSplit[sameCount].c_str(),
|
||||||
remoteSplit[sameCount].c_str()) == 0
|
remoteSplit[sameCount].c_str()) == 0
|
||||||
#else
|
#else
|
||||||
localSplit[sameCount] == remoteSplit[sameCount]
|
localSplit[sameCount] == remoteSplit[sameCount]
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue