From: Francesco Chemolli Date: Mon, 4 Jun 2012 10:51:31 +0000 (-0600) Subject: Extend g++ compatibility for extern inline functions X-Git-Tag: SQUID_3_2_0_18~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c3f85b34b6e68bc97854b322d2a6e5e4a62515e;p=thirdparty%2Fsquid.git Extend g++ compatibility for extern inline functions --- diff --git a/include/util.h b/include/util.h index cb75b96889..af0a02842c 100644 --- a/include/util.h +++ b/include/util.h @@ -57,7 +57,7 @@ SQUIDCEXTERN void Tolower(char *); * for the extern version in squid */ #if !defined(_SQUID_EXTERNNEW_) -#if defined(__GNUC_STDC_INLINE__) +#if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) #define _SQUID_EXTERNNEW_ extern inline __attribute__((gnu_inline)) #else #define _SQUID_EXTERNNEW_ extern inline