commit | ec4cdda75f7092f49972babbce348e168d4e12b1 | [log] [tgz] |
---|---|---|
author | Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | Fri May 04 12:49:58 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 04 12:49:58 2018 |
tree | 9abb7aefc9e44d15edfa7f968c3d509e839b55b8 | |
parent | a4e3a8a62338b1cb629c3d397a3407e5a29ca153 [diff] |
IWYU: Include <limits.h> for CHAR_BIT This fixes the build with libstdc++ after a4c197977f ("Shatter partition_alloc.h into smaller files"). In file included from ../../base/allocator/partition_allocator/partition_bucket.h:11:0, from ../../base/allocator/partition_allocator/partition_bucket.cc:5: ../../base/allocator/partition_allocator/partition_alloc_constants.h:140:53: error: ‘CHAR_BIT’ was not declared in this scope static const size_t kBitsPerSizeT = sizeof(void*) * CHAR_BIT; ^~~~~~~~ ../../base/allocator/partition_allocator/partition_alloc_constants.h:140:53: note: suggested alternative: ‘WCHAR_MIN’ static const size_t kBitsPerSizeT = sizeof(void*) * CHAR_BIT; ^~~~~~~~ WCHAR_MIN Bug: 819294 Change-Id: Ie61cd7a1b55adf77e1f584bd5447ac11b6980b02 Reviewed-on: https://chromium-review.googlesource.com/1043748 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#556034}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .