• Show log

    Commit

  • Hash : 5bd332ec
    Author : Christian Andersen
    Date : 2024-02-04T19:16:14

    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.