diff options
author | Christian Andersen <csandersen3@gmail.com> | 2024-02-04 19:16:14 +0100 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-03-03 15:32:50 -0600 |
commit | 168f4bc61b024bb09c40440ad4d795ad31f2f148 (patch) | |
tree | ec112a8fa201fc1fc84b42229b82ea715981ab25 /patches | |
parent | d06a11360d1a7632c4629ddf29093000b2397645 (diff) | |
download | portable-168f4bc61b024bb09c40440ad4d795ad31f2f148.tar.gz portable-168f4bc61b024bb09c40440ad4d795ad31f2f148.tar.bz2 portable-168f4bc61b024bb09c40440ad4d795ad31f2f148.zip |
Windows: Improve the check for endianness when using Visual Studio.
Visual studio does not define __BYTE_ORDER__ so all architectures
were detected as LITTLE_ENDIAN since both __BYTE_ORDER__ and
__ORDER_LITTLE_ENDIAN__ would evaluate to 0 and compare equal. This
updates the checks to use CMakes detection of endianness, with a hard
error, if this also fails.
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions