summaryrefslogtreecommitdiff
path: root/gl/stdio.in.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-24 08:37:35 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-24 08:38:35 +0100
commit03b3dac9d247bcf607e52c5cbbf8609de21a453b (patch)
treec259dfd6dead8a3f51062fb68b3c03ff02774b6c /gl/stdio.in.h
parenteac44b665c0924fa950195a2b6d890638b41fc7d (diff)
downloadgnutls-03b3dac9d247bcf607e52c5cbbf8609de21a453b.tar.gz
gnulib: removed u64 module
Diffstat (limited to 'gl/stdio.in.h')
-rw-r--r--gl/stdio.in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/stdio.in.h b/gl/stdio.in.h
index 212c30655f..7c57a01265 100644
--- a/gl/stdio.in.h
+++ b/gl/stdio.in.h
@@ -84,8 +84,13 @@
except that it indicates to GCC that the supported format string directives
are the ones of the system printf(), rather than the ones standardized by
ISO C99 and POSIX. */
-#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
+#if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
+# define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
+ _GL_ATTRIBUTE_FORMAT_PRINTF (formatstring_parameter, first_argument)
+#else
+# define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
_GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
+#endif
/* _GL_ATTRIBUTE_FORMAT_SCANF
indicates to GCC that the function takes a format string and arguments,