diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-06 09:15:11 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-06 09:15:29 -0800 |
commit | 215942da54990e097f838cd8bdb7d7164a6e3463 (patch) | |
tree | cca4ea6474a94083a48fa813fa76417e45fa1f93 /lib | |
parent | f5afaf9ce74dd04e37d72e62ecd85fc19c06bb55 (diff) | |
download | emacs-215942da54990e097f838cd8bdb7d7164a6e3463.tar.gz |
Merge from gnulib
* lib/stdio.in.h, m4/stdio_h.m4: Update from gnulib, incorporating:
2015-01-05 stdio: fix use of PRIdMAX on modern mingw
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdio.in.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 2a639c4478e..759c94d7abf 100644 --- a/lib/stdio.in.h +++ b/lib/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, |