mirror of https://github.com/python/cpython
gh-112536: Define MI_TSAN to 1 for --with-mimalloc and --with-thread-sanitizer (gh-116558)
This commit is contained in:
parent
817fe33a1d
commit
6c4fc209e1
|
@ -32,6 +32,10 @@ typedef enum {
|
|||
# define MI_DEBUG 0
|
||||
#endif
|
||||
|
||||
#ifdef _Py_THREAD_SANITIZER
|
||||
# define MI_TSAN 1
|
||||
#endif
|
||||
|
||||
#include "mimalloc.h"
|
||||
#include "mimalloc/types.h"
|
||||
#include "mimalloc/internal.h"
|
||||
|
|
Loading…
Reference in New Issue