aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdio.in.h
diff options
context:
space:
mode:
authorK. Handa2015-01-07 22:51:41 +0900
committerK. Handa2015-01-07 22:51:41 +0900
commit88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf (patch)
tree18da116400703b67738bdbbd38cc4abf4c1e929f /lib/stdio.in.h
parent3f79d3131629f73da16ec121d2a0056f11b70e65 (diff)
parent95295df44cc2b6e0e2442aeff96b0fe2ceac405c (diff)
downloademacs-88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf.tar.gz
emacs-88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf.zip
Merge branch master of git.sv.gnu.org:/srv/git/emacs.
Diffstat (limited to 'lib/stdio.in.h')
-rw-r--r--lib/stdio.in.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
index 1e1fe84c77d..759c94d7abf 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -1,6 +1,6 @@
1/* A GNU-like <stdio.h>. 1/* A GNU-like <stdio.h>.
2 2
3 Copyright (C) 2004, 2007-2014 Free Software Foundation, Inc. 3 Copyright (C) 2004, 2007-2015 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
@@ -84,8 +84,13 @@
84 except that it indicates to GCC that the supported format string directives 84 except that it indicates to GCC that the supported format string directives
85 are the ones of the system printf(), rather than the ones standardized by 85 are the ones of the system printf(), rather than the ones standardized by
86 ISO C99 and POSIX. */ 86 ISO C99 and POSIX. */
87#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ 87#if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
88# define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
89 _GL_ATTRIBUTE_FORMAT_PRINTF (formatstring_parameter, first_argument)
90#else
91# define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
88 _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) 92 _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
93#endif
89 94
90/* _GL_ATTRIBUTE_FORMAT_SCANF 95/* _GL_ATTRIBUTE_FORMAT_SCANF
91 indicates to GCC that the function takes a format string and arguments, 96 indicates to GCC that the function takes a format string and arguments,