diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2021-06-02 00:06:14 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-04 10:20:30 +0200 |
commit | 0bfc8aca7edce0cf4ebc8406ccd257590815ea87 (patch) | |
tree | ea2d8ff1d833c718d32195442164941e6ef2ce5b /chromium/base/path_service.h | |
parent | 447c56bfa8bdbb75a89551bfb537d8a80ae10094 (diff) | |
download | qtwebengine-chromium-0bfc8aca7edce0cf4ebc8406ccd257590815ea87.tar.gz |
Fix build error for macOS arm64 on x86_64
When building for arm64 on an x86_64 macOS, the header files for the
arm platform will be included, but ARCH_CPU_AR_64 is not defined.
This lead to checking non-constexpr vm_page_size in a static_assert even
though a DCHECK should be used for arm64.
Use the DCHECK unconditionally on macOS builds to fix this.
Change-Id: Iffa7e2de76358d3bb26473226e1c2a1ef6e0c356
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/path_service.h')
0 files changed, 0 insertions, 0 deletions