/* May be included multiple times */ #undef INLINE_MODIFIER #undef INLINE_MODIFIER_FOR_SOLARIS_AM /* user-requested defaults */ #include "config.h" /* capabilities known to be absent from specific compilers */ /* Sun WorkShop Pro */ #if 0 && defined(__SUNPRO_C) # define FORCE_NO_RUNTIME_INLINE #endif /* Inline modifier: If we are inlining then use "static inline" if possible, but otherwise use inline or __inline, or on compilers with no inline keyword, static. If we are not inlining then use static or nothing at all, depending on whether FORCE_STATIC is true. */ #ifdef FORCE_NO_RUNTIME_INLINE #if FORCE_STATIC #define INLINE_MODIFIER static #else #define INLINE_MODIFIER #endif #else #if defined(CC_INLINE_MODIFIER) && STATIC_INLINE_WORKS #define INLINE_MODIFIER static CC_INLINE_MODIFIER #elif defined(CC_INLINE_MODIFIER) #define INLINE_MODIFIER CC_INLINE_MODIFIER #else #define INLINE_MODIFIER static #endif #endif #define INLINE_MODIFIER_FOR_SOLARIS_AM inline