From 77550dd2cb5e19f8a302ba01577c63717d12e453 Mon Sep 17 00:00:00 2001 From: marko Date: Fri, 27 Jan 2006 14:43:12 +0000 Subject: [PATCH] Port r161 from branches/5.0: Avoid breaking --with-debug builds on QNX and other systems whose compiler pretends to be GCC 2. univ.i: Outside __WIN__, define UNIV_INLINE as static inline. --- include/univ.i | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/univ.i b/include/univ.i index 12806ea91c5..5d954b8608b 100644 --- a/include/univ.i +++ b/include/univ.i @@ -126,14 +126,8 @@ by one. */ #ifdef __WIN__ #define UNIV_INLINE __inline #else -/* config.h contains the right def for 'inline' for the current compiler */ -#if (__GNUC__ == 2) -#define UNIV_INLINE extern inline -#else -/* extern inline doesn't work with gcc 3.0.2 */ #define UNIV_INLINE static inline #endif -#endif #else /* If we want to compile a noninlined version we use the following macro