diff options
| author | Paul Eggert | 2020-05-09 08:47:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-05-09 08:50:57 -0700 |
| commit | ebfb2c4d1bc8f68a75b02a76ec90eb225123c099 (patch) | |
| tree | 789194d7ff4743ec48ea9d47a8c7ee08471cecdf /lib/stdio.in.h | |
| parent | ae3c510696f02f01d03052f070e5ce65b4018a45 (diff) | |
| download | emacs-ebfb2c4d1bc8f68a75b02a76ec90eb225123c099.tar.gz emacs-ebfb2c4d1bc8f68a75b02a76ec90eb225123c099.zip | |
Update from Gnulib
This incorporates:
2020-05-09 stdio: don't redefine _GL_ATTRIBUTE_FORMAT
2020-05-09 dirent, stdlib, string: don't redefine _GL_ATTRIBUTE_PURE
2020-05-08 limits-h: define LONG_BIT correctly on Haiku/x86_64
2020-05-08 ignore-value tests: use module 'attribute'
2020-05-06 attribute: minor style fixes
* build-aux/config.sub, doc/misc/texinfo.tex, lib/attribute.h:
* lib/dirent.in.h, lib/limits.in.h, lib/stdio.in.h, lib/stdlib.in.h:
* lib/string.in.h, m4/gnulib-common.m4:
Copy from Gnulib.
Diffstat (limited to 'lib/stdio.in.h')
| -rw-r--r-- | lib/stdio.in.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 4a95f323a9a..6c338dd6c0b 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h | |||
| @@ -62,10 +62,12 @@ | |||
| 62 | We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because | 62 | We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because |
| 63 | gnulib and libintl do '#define printf __printf__' when they override | 63 | gnulib and libintl do '#define printf __printf__' when they override |
| 64 | the 'printf' function. */ | 64 | the 'printf' function. */ |
| 65 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) | 65 | #ifndef _GL_ATTRIBUTE_FORMAT |
| 66 | # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) | 66 | # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) |
| 67 | #else | 67 | # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) |
| 68 | # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ | 68 | # else |
| 69 | # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ | ||
| 70 | # endif | ||
| 69 | #endif | 71 | #endif |
| 70 | 72 | ||
| 71 | /* _GL_ATTRIBUTE_FORMAT_PRINTF | 73 | /* _GL_ATTRIBUTE_FORMAT_PRINTF |