From: Ryan Bloom Date: Wed, 21 Jun 2000 14:34:41 +0000 (+0000) Subject: #undef strchr and strrchr when in maintainer mode. This keeps us from X-Git-Tag: APACHE_2_0_ALPHA_5~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a8fd273b413c6ac952bb2f2f1b84df0f728d6a;p=apache #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 --- 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);