commit | 578112a1b70e4cfb9a6a10c54d75730b31acc4bb | [log] [tgz] |
---|---|---|
author | Vadim Paretsky <vadim.paretsky@intel.com> | Sat Mar 09 10:47:31 2024 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Mar 09 10:53:43 2024 -0800 |
tree | aa36fc09fd7e7758d552b28d3593b6f9af8fd6a1 | |
parent | 4a9755be79dc19478792b151abf527410165d2c4 [diff] |
[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> GitOrigin-RevId: 110141b37813dc48af33de5e1407231e56acdfc5