summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-12-12 11:27:45 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-12-12 11:28:09 -0800
commit3ae2441d46ab1ac8f41f56b8449cf89d4e0d22e7 (patch)
treec2549c750f5fe837ea7fd8d5f74105349e32e321 /doc
parent73991ca4ba667724ea90f5603ba2161c7382b902 (diff)
downloadgnulib-3ae2441d46ab1ac8f41f56b8449cf89d4e0d22e7.tar.gz
stddef: support C11's max_align_t
* doc/posix-headers/stddef.texi (stddef.h): Document max_align_t. * lib/stddef.in.h (_@GUARD_PREFIX@_STDDEF_H) [__need_wint_t]: Do not undef, as that might cause max_align_t to be defined twice. Instead, change use to check for _GL_STDDEF_WINT_T too. (max_align_t) [!HAVE_MAX_ALIGN_T]: New decl. * m4/stddef_h.m4 (gl_STDDEF_H, gl_STDDEF_H_DEFAULTS): Check for max_align_t. * modules/stddef (stddef.h): Substitute HAVE_MAX_ALIGN_T. * modules/stddef-tests (Depends-on): Add stdalign. * tests/test-stddef.c: Test max_align_t.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-headers/stddef.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-headers/stddef.texi b/doc/posix-headers/stddef.texi
index 6174b1f376..77b3d3b9b3 100644
--- a/doc/posix-headers/stddef.texi
+++ b/doc/posix-headers/stddef.texi
@@ -8,6 +8,9 @@ Gnulib module: stddef
Portability problems fixed by Gnulib:
@itemize
@item
+Some platforms fail to provide @code{max_align_t}, which was added in C11.
+
+@item
Some old platforms fail to provide @code{wchar_t}.
@item