Unverified Commit 110141b3 authored by Vadim Paretsky's avatar Vadim Paretsky Committed by GitHub
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>
parent b4001e32
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