Go to the documentation of this file. 23 #ifndef _PORTING_INLINE_HPP_ 24 #define _PORTING_INLINE_HPP_ 26 #if !defined (__GNUC__) 27 #define __attribute__(X) 30 #if defined (__GNUC__) && defined (NDEBUG) 31 #define ALWAYS_INLINE always_inline 36 #if defined (__cplusplus) || defined (__GNUC__) 37 #define STATIC_INLINE static inline 39 #elif _MSC_VER >= 1000 40 #define STATIC_INLINE __forceinline static 41 #define INLINE __forceinline 45 #define STATIC_INLINE static 49 #endif // _PORTING_INLINE_HPP_