From e6a8fd273b413c6ac952bb2f2f1b84df0f728d6a Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Wed, 21 Jun 2000 14:34:41 +0000 Subject: [PATCH] #undef strchr and strrchr when in maintainer mode. This keeps us from getting a lot of warnings on platforms that use macros for these functions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85646 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/httpd.h b/include/httpd.h index 787d103f40..0752cfd84b 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1050,7 +1050,9 @@ API_EXPORT(extern const char *) ap_psignature(const char *prefix, request_rec *r */ #ifdef AP_DEBUG +#undef strchr # define strchr(s, c) ap_strchr(s,c) +#undef strrchr # define strrchr(s, c) ap_strrchr(s,c) char *ap_strchr(char *s, int c); -- 2.40.0