summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-16 17:46:12 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-16 22:17:36 +0100
commitcfa702b278c126ed3e5d0d34aa7ca018504edb96 (patch)
treea69483e05df239fc69169b93ca6090d5fbfd68aa /src/buffer.h
parentc69654ce136fa6e7c097f9458ea999e66d6340bc (diff)
Feature test for GCC attributes
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index d14b38e..acbead7 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -110,7 +110,7 @@ CMARK_EXPORT
int cmark_strbuf_puts(cmark_strbuf *buf, const char *string);
CMARK_EXPORT
int cmark_strbuf_printf(cmark_strbuf *buf, const char *format, ...)
- __attribute__((format (printf, 2, 3)));
+ CMARK_ATTRIBUTE((format (printf, 2, 3)));
CMARK_EXPORT
int cmark_strbuf_vprintf(cmark_strbuf *buf, const char *format, va_list ap);
CMARK_EXPORT