mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
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:
parent
284ef8a3dc
commit
794e9109d7
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user