[libcxx-commits] [PATCH] D131425: [libc++] Remove workarounds for systems with tortuous include requirements
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 20 10:44:18 PST 2022
ldionne added inline comments.
================
Comment at: libcxx/include/ext/__hash:17
#include <cstring>
+#include <stddef.h>
#include <string>
----------------
philnik wrote:
> Why not `<cstddef>` like we do everywhere else?
I remember why I had included `<stddef.h>` now -- it's because this file uses `size_t` instead of `std::size_t` and that breaks the module build if we include `<cstddef>` instead of `<stddef.h>`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131425/new/
https://reviews.llvm.org/D131425
More information about the libcxx-commits
mailing list