diff options
| author | Paul Eggert | 2016-04-03 23:12:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-03 23:12:29 -0700 |
| commit | f501116ea896b20f195f5c841e8770d7fe0418b9 (patch) | |
| tree | acba39c6874e999c1b914838bf0bd2b60ec13e25 /lib | |
| parent | c4963f9a905bf15740aa7e3ebf85af917f17be15 (diff) | |
| download | emacs-f501116ea896b20f195f5c841e8770d7fe0418b9.tar.gz emacs-f501116ea896b20f195f5c841e8770d7fe0418b9.zip | |
Sync with gnulib
This incorporates:
2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
2016-04-01 stddef: support configuring with g++
* doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
Copy from gnulib.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stddef.in.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stddef.in.h b/lib/stddef.in.h index c6d2317ca2d..f4c4a1070d5 100644 --- a/lib/stddef.in.h +++ b/lib/stddef.in.h | |||
| @@ -81,8 +81,10 @@ | |||
| 81 | # define wchar_t int | 81 | # define wchar_t int |
| 82 | #endif | 82 | #endif |
| 83 | 83 | ||
| 84 | /* Some platforms lack max_align_t. */ | 84 | /* Some platforms lack max_align_t. The check for _GCC_MAX_ALIGN_T is |
| 85 | #if !@HAVE_MAX_ALIGN_T@ | 85 | a hack in case the configure-time test was done with g++ even though |
| 86 | we are currently compiling with gcc. */ | ||
| 87 | #if ! (@HAVE_MAX_ALIGN_T@ || defined _GCC_MAX_ALIGN_T) | ||
| 86 | /* On the x86, the maximum storage alignment of double, long, etc. is 4, | 88 | /* On the x86, the maximum storage alignment of double, long, etc. is 4, |
| 87 | but GCC's C11 ABI for x86 says that max_align_t has an alignment of 8, | 89 | but GCC's C11 ABI for x86 says that max_align_t has an alignment of 8, |
| 88 | and the C11 standard allows this. Work around this problem by | 90 | and the C11 standard allows this. Work around this problem by |