We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There should be only on place that checks for endian and it should be at compile time.
What do autoconf and CMake say about endianness?
https://stackoverflow.com/questions/2100331/c-macro-definition-to-determine-big-endian-or-little-endian-machine
http://esr.ibiblio.org/?p=5095
The text was updated successfully, but these errors were encountered:
What is your preferred way to fix this? Is a global variable bigEndian required?
bigEndian
I used this kind of "static" endian detection in matio which is working for years:
https://github.com/tbeu/matio/blob/0884b80a7ee5783b6193d7e2c58f997d121d3245/src/mat4.c#L153-L173
Sorry, something went wrong.
@schwehr I see that you self-assigned this issue, but nevertheless I now created #91.
Awesome! I ran out of steam working on shapelib and I appreciate you doing #91.
schwehr
Successfully merging a pull request may close this issue.
There should be only on place that checks for endian and it should be at compile time.
What do autoconf and CMake say about endianness?
https://stackoverflow.com/questions/2100331/c-macro-definition-to-determine-big-endian-or-little-endian-machine
http://esr.ibiblio.org/?p=5095
The text was updated successfully, but these errors were encountered: