summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-24 16:44:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-24 16:44:43 +0000
commita01be59015d2f7f8db5b97997daa57b636141f5d (patch)
tree0b506c66219b13dfc95398f189492fa49d6380b3 /src
parent4c904ad7faf2432f2289f6c84cd1675d55fff62d (diff)
Added inline token
Diffstat (limited to 'src')
-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