mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
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.
This commit is contained in:
parent
9b1c2825ff
commit
77550dd2cb
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue