Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong byte-order detection on Mac OS X #2

Open
snizovtsev opened this issue Sep 22, 2014 · 0 comments
Open

Wrong byte-order detection on Mac OS X #2

snizovtsev opened this issue Sep 22, 2014 · 0 comments

Comments

@snizovtsev
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant