-
Notifications
You must be signed in to change notification settings - Fork 38
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
fatal error: 'endian.h' file not found on M1 mac #88
Comments
I tried using |
After some more searching I learned that using <sys/types.h> is supposed to be more portable than trying to include endian.h directly. I made a fork and tested it on my system and it works. To be honest, I'm not sure why my build system doesn't activate the conditional clause
Let me know your thoughts. I would prefer not to use a fork if possible. Maybe I am missing something simple. |
Hi, Thanks for the report and sorry for the terrible delay in answering. I am not an expert on macOS but I appreciate your research and looks good to me. Would you like to make a PR to Let me know, |
sure, PR is up now |
Thanks! |
Hi,
I unfortunately need to compile this library on an M1 Mac and I am running into an error:
clang:
on macOS Sonoma 14.2 (23C64)
Based on some quick googling it may be as simple as using
<machine/endian.h>
in this particular contextThanks
The text was updated successfully, but these errors were encountered: