Commit a91b9bd9 authored by Vadim Paretsky's avatar Vadim Paretsky Committed by Tom Stellard
Browse files

[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: default avatarVadim Paretsky <b-vadipa@microsoft.com>
(cherry picked from commit 110141b3)
parent 7cb67530
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment