From c56db9bef711097ebf035ad745f7ad1f746f19de Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Sun, 27 May 2012 20:55:56 -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