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

Fix endianess, clean up on the way. #5

Merged
merged 4 commits into from
Oct 17, 2015
Merged

Conversation

BenWiederhake
Copy link
Contributor

There are two options concerning endianess:

  • Use the header portable_endian.h and be done. (It's even highly efficient!) Good: Exists already, can't go wrong that easily. Bad: Lot's of code.
  • Write your own header, using only BYTE_ORDER to detect it manually. Good: Less code. Bad: Error-prone, not as portable probably.

I implemented the first option. If you want me to implement the second option, please give me a good reason for that.

vysheng added a commit that referenced this pull request Oct 17, 2015
Fix endianess, clean up on the way.
@vysheng vysheng merged commit 36bf190 into vysheng:master Oct 17, 2015
@BenWiederhake BenWiederhake deleted the develop branch October 19, 2015 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants