From: Stefan Fritsch Date: Mon, 27 Jun 2011 17:50:12 +0000 (+0000) Subject: Use APR_INLINE instead of inline, to support pre-C99 compilers X-Git-Tag: 2.3.13~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a2f66b35888603b4434819d174b985ff8c715be;p=apache Use APR_INLINE instead of inline, to support pre-C99 compilers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1140249 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_protocol.h b/include/http_protocol.h index b33279bca8..18171db2c7 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -334,7 +334,7 @@ AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r); * @return The number of bytes sent * @note ap_rputs may be implemented as macro or inline function */ -static inline int ap_rputs(const char *str, request_rec *r) +static APR_INLINE int ap_rputs(const char *str, request_rec *r) { return ap_rwrite(str, strlen(str), r); }