8000 Fix OS availability check of pthread_threadid_np for iOS by lowdesertpunk · Pull Request #2897 · gabime/spdlog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix OS availability check of pthread_threadid_np for iOS #2897

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

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

lowdesertpunk
Copy link
Contributor

The OS availability check of pthread_threadid_np (introduced in #2715) is not considering other Apple OSes, where the macOS specific macros are not defined as such these C preprocessor undefined values evaluate to zero causing the #if expression to evaluate in an unexpected way (e.g. unnecessary weak linking check on iOS).

@gabime
Copy link
Owner
gabime commented Oct 11, 2023

Thanks @lowdesertpunk

@gabime gabime merged commit 479a5ac into gabime:v1.x Oct 11, 2023
@lowdesertpunk lowdesertpunk deleted the fix_availability_check_for_ios branch October 12, 2023 11:43
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
0