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

Use endian.h to determine endianness #1

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

Conversation

devurandom
Copy link
Contributor

glibc and others have an endian.h header that contains a __BYTE_ORDER macro,
which can be used to determine endianness. The header might also be called
sys/endian.h on some systems.

glibc and others have an endian.h header that contains a __BYTE_ORDER macro,
 which can be used to determine endianness.  The header might also be called
 sys/endian.h on some systems.
devurandom added a commit to devurandom/gentoo-overlay that referenced this pull request Nov 28, 2017
Also cleans up the patches a little bit, in the form they were submitted
 upstream.

References: libogdi/ogdi#1
References: libogdi/ogdi#2
References: libogdi/ogdi#3
References: libogdi/ogdi#4
References: libogdi/ogdi#5

Fixes: bug #371389, bug #632265, bug #639112
@rouault
Copy link
Collaborator

rouault commented Mar 8, 2018

What about Windows builds ?

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.

None yet

2 participants