summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-11-28 18:36:37 +0000
committerjhb <jhb@FreeBSD.org>2016-11-28 18:36:37 +0000
commit3d2d7a75e475fa129c001fa8411a5ad5f3a08958 (patch)
tree5805d4bdf966b4bf80bcc265eddcfae3c253daaa /contrib/diff/src
parent313b26c41177fe20d7c6635dcbc8be85c51dec2e (diff)
downloadFreeBSD-src-3d2d7a75e475fa129c001fa8411a5ad5f3a08958.zip
FreeBSD-src-3d2d7a75e475fa129c001fa8411a5ad5f3a08958.tar.gz
MFC 307756: Define max_align_t for C11.
libc++'s stddef.h includes an existing definition of max_align_t for C++11, but it is only defined for C++, not for C. In addition, GCC and clang both define an alternate version of max_align_t that uses a union of multiple types rather than a plain long double as in libc++. This adds a __max_align_t to <sys/_types.h> that matches the GCC and clang definition that is mapped to max_align_t in <stddef.h>. PR: 210890
Diffstat (limited to 'contrib/diff/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud