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

Prevent undefined shift intrinsics from being used when R128_STDC_ONLY is defined #15

Merged
merged 1 commit into from
May 20, 2023

Conversation

SlugFiller
Copy link
Contributor

R128_STDC_ONLY causes intrinsic headers to not be included. It can be defined manually (via build options) even on systems where those intrinsics are available. This patch takes care of a case where only the availability of the intrinsic is checked, and not whether it's force-disabled by R128_STDC_ONLY.

…LY` is defined

`R128_STDC_ONLY` causes intrinsic headers to not be included. It can be defined manually (via build options) even on systems where those intrinsics are available. This patch takes care of a case where only the availability of the intrinsic is checked, and not whether it's force-disabled by `R128_STDC_ONLY`.
@fahickman
Copy link
Owner

Good catch. Thank you for the fix.

@fahickman fahickman merged commit 6fc1776 into fahickman:main May 20, 2023
shana added a commit to shana/godot that referenced this pull request Nov 6, 2023
…luded.

fahickman/r128#15 is needed to build on platforms
that define R128_STDC_ONLY
YuriSizov pushed a commit to YuriSizov/godot that referenced this pull request Jan 23, 2024
…luded.

fahickman/r128#15 is needed to build on platforms
that define R128_STDC_ONLY

(cherry picked from commit 8fad157)
GuybrushThreepwood-GitHub pushed a commit to GuybrushThreepwood-GitHub/godot that referenced this pull request Jan 27, 2024
…luded.

fahickman/r128#15 is needed to build on platforms
that define R128_STDC_ONLY
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