Skip to content

ext/hash: Swap the checking order of __has_builtin and __GNUC__ #14185

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

Conversation

SakiTakamachi
Copy link
Member

If __has_builtin is defined and __has_builtin(__builtin_bswap64) is false, __GNUC__ is not used even if it is defined.

ext/hash: Swap the checking order of __has_builtin and __GNUC__
@SakiTakamachi SakiTakamachi force-pushed the fix_hash_define_bswap branch from ede4152 to 7017efe Compare May 10, 2024 00:25
SakiTakamachi added a commit that referenced this pull request May 10, 2024
* PHP-8.2:
  ext/hash: Swap the checking order of __has_builtin and __GNUC__ (#14185)
SakiTakamachi added a commit that referenced this pull request May 10, 2024
* PHP-8.3:
  ext/hash: Swap the checking order of __has_builtin and __GNUC__ (#14185)
@SakiTakamachi SakiTakamachi deleted the fix_hash_define_bswap branch June 13, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants