diff options
| author | Paul Eggert | 2015-01-06 09:15:11 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-06 09:15:29 -0800 |
| commit | 215942da54990e097f838cd8bdb7d7164a6e3463 (patch) | |
| tree | cca4ea6474a94083a48fa813fa76417e45fa1f93 /lib | |
| parent | f5afaf9ce74dd04e37d72e62ecd85fc19c06bb55 (diff) | |
| download | emacs-215942da54990e097f838cd8bdb7d7164a6e3463.tar.gz emacs-215942da54990e097f838cd8bdb7d7164a6e3463.zip | |
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 @@ | |||
| 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, |