From 794e9109d75981bab96271eff43690e926fcd69f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Mar 2025 22:41:15 +0100 Subject: [PATCH] curl_memrchr: enable in all builds It is used in the URL parser since bc24c60512 Reported-by: Justin Steventon Fixes #16661 Closes #16663 --- lib/curl_memrchr.c | 6 ------ 1 file changed, 6 deletions(-) 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 */ -- 2.47.3