diff options
author | Vadim Paretsky <vadim.paretsky@intel.com> | 2024-03-09 10:47:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 10:47:31 -0800 |
commit | 110141b37813dc48af33de5e1407231e56acdfc5 (patch) | |
tree | 6cb6833a46b010e880a9a7fcade4ed0a8cabd570 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | b4001e32b1aa4df07dc6babefba19f2b77f487c6 (diff) | |
download | llvm-110141b37813dc48af33de5e1407231e56acdfc5.zip llvm-110141b37813dc48af33de5e1407231e56acdfc5.tar.gz llvm-110141b37813dc48af33de5e1407231e56acdfc5.tar.bz2 |
[OpenMP] fix endianness dependent definitions in OMP headers for MSVC (#84540)
MSVC does not define __BYTE_ORDER__ making the check for BigEndian
erroneously evaluate to true and breaking the struct definitions in MSVC
compiled builds correspondingly. The fix adds an additional check for
whether __BYTE_ORDER__ is defined by the compiler to fix these.
---------
Co-authored-by: Vadim Paretsky <b-vadipa@microsoft.com>
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions