Commit 3b0eec9c authored by unknown's avatar unknown

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
...@@ -126,14 +126,8 @@ by one. */ ...@@ -126,14 +126,8 @@ by one. */
#ifdef __WIN__ #ifdef __WIN__
#define UNIV_INLINE __inline #define UNIV_INLINE __inline
#else #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 #define UNIV_INLINE static inline
#endif #endif
#endif
#else #else
/* If we want to compile a noninlined version we use the following macro /* If we want to compile a noninlined version we use the following macro
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment