curl_memrchr: enable in all builds

It is used in the URL parser since bc24c60512

Reported-by: Justin Steventon
Fixes #16661
Closes #16663
This commit is contained in:
Daniel Stenberg 2025-03-10 22:41:15 +01:00
parent 284ef8a3dc
commit 794e9109d7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 */