diff options
author | Brad King <brad.king@kitware.com> | 2013-06-27 20:44:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-06-27 20:46:23 (GMT) |
commit | e643e0259df0736022d484c68a6781c3a380dd06 (patch) | |
tree | 418389d17651ae40b59f4fb5cd6383c91cc4c95d /Utilities/cmcurl/strequal.h | |
parent | 5dd8c01429da90a7417b72f17e784cc98f70f57c (diff) | |
download | CMake-e643e0259df0736022d484c68a6781c3a380dd06.zip CMake-e643e0259df0736022d484c68a6781c3a380dd06.tar.gz CMake-e643e0259df0736022d484c68a6781c3a380dd06.tar.bz2 |
cmcurl: Backport curl bug 1192 fix (#14250)
LLVM headers define strlcat as a macro rather than as a function.
See upstream Curl issue:
http://curl.haxx.se/bug/view.cgi?id=1192
It was addressed by removing use of strlcat altogether. Port the
upstream fix to CMake's curl.
Diffstat (limited to 'Utilities/cmcurl/strequal.h')
-rw-r--r-- | Utilities/cmcurl/strequal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Utilities/cmcurl/strequal.h b/Utilities/cmcurl/strequal.h index b3caa73..6718c3c0 100644 --- a/Utilities/cmcurl/strequal.h +++ b/Utilities/cmcurl/strequal.h @@ -35,9 +35,4 @@ /* case insensitive strstr() */ char *Curl_strcasestr(const char *haystack, const char *needle); -#ifndef HAVE_STRLCAT -#define strlcat(x,y,z) Curl_strlcat(x,y,z) -#endif -size_t strlcat(char *dst, const char *src, size_t siz); - #endif |