Skip to content

BUG: threads.h existence test requires GLIBC > 2.12. #18357

Merged
charris merged 1 commit intonumpy:maintenance/1.20.xfrom
charris:backport-18180
Feb 7, 2021
Merged

BUG: threads.h existence test requires GLIBC > 2.12. #18357
charris merged 1 commit intonumpy:maintenance/1.20.xfrom
charris:backport-18180

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Feb 7, 2021

Backport of #18180.

  • defined(STDC_NO_THREADS) can be trusted only when using glibc > 2.12

  • Add GLIBC defined check.

Closes #18179

* defined(__STDC_NO_THREADS__) can be trusted only when using glibc > 2.12

* Add __GLIBC__ defined check.
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