Commit e252af33 authored by joerg@mysql.com's avatar joerg@mysql.com

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).
parent f8b03455
...@@ -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