mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Make tsan detection gcc compatible
This commit is contained in:
parent
ec45f31ad1
commit
c0c7b0f86f
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@
|
|||
#define TOPIC_MONITOR_TSAN_WORKAROUND 1
|
||||
#endif
|
||||
#endif
|
||||
#if __SANITIZE_THREAD__
|
||||
#define TOPIC_MONITOR_TSAN_WORKAROUND 1
|
||||
#endif
|
||||
|
||||
/// Implementation of the principal monitor. This uses new (and leaks) to avoid registering a
|
||||
/// pointless at-exit handler for the dtor.
|
||||
|
|
Loading…
Reference in a new issue