From: Daniel Stenberg Date: Mon, 10 Mar 2025 21:41:15 +0000 (+0100) Subject: curl_memrchr: enable in all builds X-Git-Tag: curl-8_13_0~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=794e9109d75981bab96271eff43690e926fcd69f;p=thirdparty%2Fcurl.git curl_memrchr: enable in all builds It is used in the URL parser since bc24c60512 Reported-by: Justin Steventon Fixes #16661 Closes #16663 --- diff --git a/lib/curl_memrchr.c b/lib/curl_memrchr.c index af3edff027..5b6a39c022 100644 --- a/lib/curl_memrchr.c +++ b/lib/curl_memrchr.c @@ -33,10 +33,6 @@ #include "memdebug.h" #ifndef HAVE_MEMRCHR -#if (!defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)) || \ - defined(USE_OPENSSL) || \ - defined(USE_SCHANNEL) - /* * Curl_memrchr() * @@ -63,6 +59,4 @@ Curl_memrchr(const void *s, int c, size_t n) } return NULL; } - -#endif #endif /* HAVE_MEMRCHR */