summaryrefslogtreecommitdiff
path: root/src/htsstrings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsstrings.h')
-rwxr-xr-xsrc/htsstrings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsstrings.h b/src/htsstrings.h
index 514963c..1102219 100755
--- a/src/htsstrings.h
+++ b/src/htsstrings.h
@@ -47,9 +47,11 @@ Please visit our Website: http://www.httrack.com
#ifdef __GNUC__
#define HTS_UNUSED __attribute__ ((unused))
#define HTS_STATIC static __attribute__ ((unused))
+#define HTS_PRINTF_FUN(fmt, arg) __attribute__ ((format (printf, fmt, arg)))
#else
#define HTS_UNUSED
#define HTS_STATIC static
+#define HTS_PRINTF_FUN(fmt, arg)
#endif
#endif