From: Francesco Chemolli Date: Mon, 28 May 2012 02:55:56 +0000 (-0600) Subject: Extend g++ compatibility for extern inline functions X-Git-Tag: BumpSslServerFirst.take09~3^2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c56db9bef711097ebf035ad745f7ad1f746f19de;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