Commit 3b0eec9c authored by unknown's avatar unknown
Browse files

storage/innobase/include/univ.i : Get rid of "extern inline" (part of...

storage/innobase/include/univ.i  :  Get rid of "extern inline" (part of innodb-5.0-149/162 snapshots).


storage/innobase/include/univ.i:
  Part of innodb-5.0-149/162 snapshots:
  Avoid breaking --with-debug builds on QNX and other systems
  whose compiler pretends to be GCC 2.
  Outside __WIN__ define UNIV_INLINE as static inline.
parent 36f6cc3b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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