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

Check for builtin before using it #279

Merged
merged 1 commit into from
Mar 7, 2023
Merged

Check for builtin before using it #279

merged 1 commit into from
Mar 7, 2023

Conversation

NeRdTheNed
Copy link
Contributor

This fixes building cglm with compilers that define GNUC and don't implement __builtin_assume_aligned.

Note that the check for __has_builtin being defined and using the __has_builtin() macro need to be on different lines, as when __has_builtin is not defined, using the __has_builtin() macro is an invalid preprocessor directive.

The check for __has_builtin being defined and using the __has_builtin() macro need to be on different lines, as when __has_builtin is not defined, using the __has_builtin() macro is an invalid preprocessor directive.
@recp recp merged commit 799749f into recp:master Mar 7, 2023
@recp
Copy link
Owner

recp commented Mar 7, 2023

Hi @NeRdTheNed, the PR is merged, many thanks for your contributions 🚀

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.

2 participants