From 1c3f85b34b6e68bc97854b322d2a6e5e4a62515e Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Mon, 4 Jun 2012 04:51:31 -0600 Subject: [PATCH] Extend g++ compatibility for extern inline functions --- include/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2