]> granicus.if.org Git - icu/commit
ICU-20875 Include <cstddef> for max_align_t
authorJoshua Root <jmr@macports.org>
Mon, 21 Oct 2019 19:18:00 +0000 (06:18 +1100)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 9 Jan 2020 23:42:52 +0000 (15:42 -0800)
commita3078fb8c89b61c35ccebb04cf6b189bc81093b3
treee822d3e6aae51153f679b5eb8b6d79896de832a3
parent09d409f5f44465d624757bd8f9d8700879696c7e
ICU-20875 Include <cstddef> for max_align_t

The definition of max_align_t is not guaranteed to be available unless
the appropriate header is included. Since use of <stddef.h> from C++ is
deprecated, that's <cstddef>, and max_align_t is thus defined under the
std namespace rather than in the global namespace.
icu4c/source/common/uarrsort.cpp
icu4c/source/common/utext.cpp
icu4c/source/tools/toolutil/toolutil.cpp