From: Francesco Chemolli Date: Tue, 5 Jun 2012 08:20:20 +0000 (-0600) Subject: Extend g++ compatibility for extern inline functions X-Git-Tag: SQUID_3_1_20~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482b98334b80ba70234c167c084f72b45203b222;p=thirdparty%2Fsquid.git Extend g++ compatibility for extern inline functions --- diff --git a/include/util.h b/include/util.h index 85be84e35c..37882cdb9c 100644 --- a/include/util.h +++ b/include/util.h @@ -81,7 +81,7 @@ SQUIDCEXTERN void xxfree(const void *); * for the extern version in squid */ #ifndef _SQUID_EXTERNNEW_ -#ifdef __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