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

lputil: Proper support for big-endian platforms with the various Read*() functions #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dressupgeekout
Copy link
Owner

@dressupgeekout dressupgeekout commented Jul 8, 2020

Determine at configure-time whether we're building for a big-endian or a little-endian machine, which in turn will enable or disable such things as htons(3) from happening


I'm putting this up as a pull request because I want to make sure this is right. The real test is to actually get this thing built on a big-endian machine. I plan on using QEMU to help out with testing, since I only have Intel hardware on hand

@dressupgeekout dressupgeekout force-pushed the endianness_check branch 12 times, most recently from 985d2b4 to 47eda5c Compare July 13, 2020 01:11
@dressupgeekout dressupgeekout force-pushed the endianness_check branch 4 times, most recently from 7eab951 to b7068ab Compare July 23, 2020 02:30
…*() functions

Determine at configure-time whether we're building for a big-endian or a
little-endian machine, which in turn will enable or disable such things as
htons(3) from happening
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.

1 participant