Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-112536: Define
_Py_THREAD_SANITIZER
on GCC when TSan is en…
…abled (python#117702) The `__has_feature(thread_sanitizer)` is a Clang-ism. Although new versions of GCC implement `__has_feature`, the `defined(__has_feature)` check still fails on GCC so we don't use that code path.
- Loading branch information