summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-22 00:13:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-22 00:13:08 (GMT)
commit72f0c21f9486cb0f14b657b0ca146b41599979ad (patch)
tree794b774902da26da81f12d0663b565a78f2dca1a
parent9c754bfc4442a261df17c127262884437f03c27c (diff)
downloadCMake-72f0c21f9486cb0f14b657b0ca146b41599979ad.zip
CMake-72f0c21f9486cb0f14b657b0ca146b41599979ad.tar.gz
CMake-72f0c21f9486cb0f14b657b0ca146b41599979ad.tar.bz2
ENH: fix borland bug
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index eb5bc83..6ab76b4 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -2789,6 +2789,8 @@ bool SystemTools::ComparePath(const char* c1, const char* c2)
return _stricmp(c1, c2) == 0;
# elif defined(__APPLE__) || defined(__GNUC__)
return strcasecmp(c1, c2) == 0;
+#else
+ return SystemTools::Strucmp(c1, c2) == 0;
# endif
#else
return strcmp(c1, c2) == 0;