diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 15:04:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 15:04:25 (GMT) |
commit | f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4 (patch) | |
tree | 39f1d9bf343c1367eb02c9bff6bbacd4ba31e5d6 /Source/CTest | |
parent | 3b891e6e41d8bca3477f173693d032ee2813a168 (diff) | |
download | CMake-f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4.zip CMake-f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4.tar.gz CMake-f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4.tar.bz2 |
COMP: This should fix the borland random build problem
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/Curl/strequal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/Curl/strequal.c b/Source/CTest/Curl/strequal.c index f993e38..66e2e4f 100644 --- a/Source/CTest/Curl/strequal.c +++ b/Source/CTest/Curl/strequal.c @@ -38,10 +38,10 @@ int curl_strequal(const char *first, const char *second) { #if defined(HAVE_STRCASECMP) return !(strcasecmp)(first, second); -#elif defined(HAVE_STRCMPI) - return !(strcmpi)(first, second); #elif defined(HAVE_STRICMP) return !(stricmp)(first, second); +#elif defined(HAVE_STRCMPI) + return !(strcmpi)(first, second); #else while (*first && *second) { if (toupper(*first) != toupper(*second)) { @@ -58,10 +58,10 @@ int curl_strnequal(const char *first, const char *second, size_t max) { #if defined(HAVE_STRCASECMP) return !strncasecmp(first, second, max); -#elif defined(HAVE_STRCMPI) - return !strncmpi(first, second, max); #elif defined(HAVE_STRICMP) return !strnicmp(first, second, max); +#elif defined(HAVE_STRCMPI) + return !strncmpi(first, second, max); #else while (*first && *second && max) { if (toupper(*first) != toupper(*second)) { |