Skip to content

Wrong byte-order detection on Mac OS X #2

@snizovtsev

Description

@snizovtsev

libfluid_msg use this method to check host system endianness:

#if __BYTE_ORDER == __BIG_ENDIAN
...
#else
...
#endif

However, both this non-standard preprocessor variables isn't defined on Mac OS X (tested on 10.9.5) and #if statement becomes true (big endian) on x86 system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions