Kaydet (Commit) 3bd926ee authored tarafından Tor Lillqvist's avatar Tor Lillqvist

If we have strlcat(), we have strlcat(), no need to declare it

The system strlcat() might be some clever built-in or macro thing
anyway, and having a bogus duplicate declaration can cause
problems. And does, in the iOS 7 SDK.

Change-Id: I0aed0ad0f7b96c1c887ed928a2c07fc99bd703f7
üst bf57f81b
...@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,curl,\ ...@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,curl,\
curl/curl-7.26.0_win.patch \ curl/curl-7.26.0_win.patch \
curl/curl-7.26.0_mingw.patch \ curl/curl-7.26.0_mingw.patch \
curl/curl-7.26.0_win-proxy.patch \ curl/curl-7.26.0_win-proxy.patch \
curl/curl-7.26.0_strlcat.patch \
)) ))
ifeq ($(OS),ANDROID) ifeq ($(OS),ANDROID)
$(eval $(call gb_UnpackedTarball_add_patches,curl,\ $(eval $(call gb_UnpackedTarball_add_patches,curl,\
......
--- curl-7.26.0/lib/strequal.h
+++ misc/build/curl-7.26.0/strequal.h
@@ -30,6 +30,5 @@
#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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment