IBM xlc compiler does not like "static inline" (related to #209)

This commit is contained in:
Karel Miko 2017-05-02 21:36:14 +02:00
parent 87be6d3d70
commit adf0ad95c9

View File

@ -41,8 +41,8 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, const char *s2);
#endif #endif
/* some compilers do not like "inline" */ /* some compilers do not like "inline" (or maybe "static inline"), namely: HP cc, IBM xlc */
#if defined(__HP_cc) #if defined(__HP_cc) || defined(__xlc__)
#define LTC_INLINE #define LTC_INLINE
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
#define LTC_INLINE __inline #define LTC_INLINE __inline