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

Avoid WORDS_BIGENDIAN conflict with Python3 #295

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Dec 22, 2024

Python uses the same macro name internally, and this results in compiler warnings about redefining it. Since we're updating this, we might as well move to using CMake's endianness detection as opposed to relying on macros being defined (or not defined) in system headers because that has proven unreliable in the past.

Python uses the same macro name internally, and this results in compiler
warnings about redefining it. Since we're updating this, we might as
well move to using CMake's endianness detection as opposed to relying on
macros being defined (or not defined) in system headers because that has
proven unreliable in the past.
@zrax zrax merged commit 341ca00 into H-uru:master Dec 22, 2024
10 checks passed
@dpogue dpogue deleted the endian-fixes branch December 25, 2024 00:43
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.

3 participants