]> granicus.if.org Git - apache/commitdiff
#undef strchr and strrchr when in maintainer mode. This keeps us from
authorRyan Bloom <rbb@apache.org>
Wed, 21 Jun 2000 14:34:41 +0000 (14:34 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 21 Jun 2000 14:34:41 +0000 (14:34 +0000)
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

index 787d103f404e40eeed01c067512e772c262323c0..0752cfd84ba6aa67ecd08b6a6809c93ed574558e 100644 (file)
@@ -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);