diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-28 18:35:50 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-28 18:35:50 (GMT) |
commit | 25dd201047879b47521dddbbc97bb8750a98b3e0 (patch) | |
tree | 16837d0263ca1dc487973ce3cac30ccc3cb50a10 /Source/CTest/Curl | |
parent | 4d9b5d5ef119d8825fda3d40cfcb01cf7e7ae4ac (diff) | |
download | CMake-25dd201047879b47521dddbbc97bb8750a98b3e0.zip CMake-25dd201047879b47521dddbbc97bb8750a98b3e0.tar.gz CMake-25dd201047879b47521dddbbc97bb8750a98b3e0.tar.bz2 |
Fix windows problem in curl
Diffstat (limited to 'Source/CTest/Curl')
-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 500e749..0cc22ea 100644 --- a/Source/CTest/Curl/strequal.c +++ b/Source/CTest/Curl/strequal.c @@ -30,10 +30,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)) { @@ -50,10 +50,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)) { |