summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libxslt/libxslt/xsltconfig.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libxslt/libxslt/xsltconfig.h.in')
-rw-r--r--chromium/third_party/libxslt/libxslt/xsltconfig.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/third_party/libxslt/libxslt/xsltconfig.h.in b/chromium/third_party/libxslt/libxslt/xsltconfig.h.in
index b4cac6d3219..6e4e32850c9 100644
--- a/chromium/third_party/libxslt/libxslt/xsltconfig.h.in
+++ b/chromium/third_party/libxslt/libxslt/xsltconfig.h.in
@@ -153,6 +153,17 @@ extern "C" {
#endif
/**
+ * LIBXSLT_ATTR_FORMAT:
+ *
+ * This macro is used to indicate to GCC the parameters are printf-like
+ */
+#ifdef __GNUC__
+#define LIBXSLT_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
+#else
+#define LIBXSLT_ATTR_FORMAT(fmt,args)
+#endif
+
+/**
* LIBXSLT_PUBLIC:
*
* This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows