Skip to content

Fix building on RasPi #240

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

Closed
wants to merge 1 commit into from
Closed

Fix building on RasPi #240

wants to merge 1 commit into from

Conversation

ffried
Copy link

@ffried ffried commented Apr 13, 2017

shims.h includesshims/lock.h which calls DISPATCH_INTERNAL_CRASH. However this is defined below the include of shims.h in internal.h and hence fails the build on the RasPi.
Moving the includes below the define of DISPATCH_INTERNAL_CRASH fixes the issue.

I don't know why this works on regular x86/x64 builds, though.

shims.h includes shims/lock.h which calls DISPATCH_INTERNAL_CRASH. However this is defined below the include of shims.h in internal.h and hence fails the build.
This commit moves the includes of the dependent files below the define of DISPATCH_INTERNAL_CRASH.
@ffried
Copy link
Author

ffried commented Apr 16, 2017

Closing this in favor of #233 which is about the same issue but has a better solution.

@ffried ffried closed this Apr 16, 2017
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