summaryrefslogtreecommitdiff
path: root/src/htsbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsbase.h')
-rw-r--r--src/htsbase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsbase.h b/src/htsbase.h
index 927a286..aa6ea32 100644
--- a/src/htsbase.h
+++ b/src/htsbase.h
@@ -68,10 +68,12 @@ extern "C" {
#ifdef __GNUC__
#define HTS_UNUSED __attribute__ ((unused))
#define HTS_STATIC static __attribute__ ((unused))
+#define HTS_INLINE __inline__
#define HTS_PRINTF_FUN(fmt, arg) __attribute__ ((format (printf, fmt, arg)))
#else
#define HTS_UNUSED
#define HTS_STATIC static
+#define HTS_INLINE
#define HTS_PRINTF_FUN(fmt, arg)
#endif
#endif