introducing LTC_INLINE

This commit is contained in:
Karel Miko
2016-01-02 17:37:06 +01:00
parent c39390dba1
commit 0c226834cc
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -43,6 +43,15 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, const char *s2);
#endif
/* some compilers do not like "inline" */
#if defined(__HP_cc)
#define LTC_INLINE
#elif defined(_MSC_VER)
#define LTC_INLINE __inline
#else
#define LTC_INLINE inline
#endif
/* type of argument checking, 0=default, 1=fatal and 2=error+continue, 3=nothing */
#ifndef ARGTYPE
#define ARGTYPE 0