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

Include <endian.h> for byte swap macros on OpenBSD #6404

Merged
merged 1 commit into from
Feb 28, 2018
Merged

Include <endian.h> for byte swap macros on OpenBSD #6404

merged 1 commit into from
Feb 28, 2018

Conversation

hubslave
Copy link
Contributor

There is code below that assumes the presence of those macros (by #undef'ing them), but none of the included headers provided them.

This fixes a build failure on OpenBSD where the undef'd macros do get picked up later on in a compilation unit (through which include, I don't know), and thus shadow the Common::swap* functions.

There is code below that assumes the presence of those macros (by #undef'ing them), but none of the included headers provided them.

This fixes a build failure on OpenBSD where the undef'd macros _do_ get picked up later on in a compilation unit (through which include, I don't know), and thus shadow the Common::swap* functions.
@lioncash lioncash merged commit bf825e6 into dolphin-emu:master Feb 28, 2018
@hubslave hubslave deleted the patch-1 branch February 28, 2018 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants