UniRec  2.9.3
inline.h
Go to the documentation of this file.
1 #ifndef _INLINE_H_
2 #define _INLINE_H_
3 
4 // C90 and C99 interprets external linkability of inline function differently.
5 // Use INLINE and INLINE_IMPL macros to get the same behavior regardless of
6 // of the C standard used.
7 // Note: Probably works only with gcc
8 #ifdef __GNUC_STDC_INLINE__ // C99
9 #define INLINE inline
10 #define INLINE_IMPL extern inline
11 #else // C90
12 #define INLINE static inline
13 #define INLINE_IMPL inline
14 #endif
15 
16 #endif