use __thread locals on linux
This commit is contained in:
@@ -11,7 +11,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||
#include "mimalloc-types.h"
|
||||
|
||||
#if defined(MI_MALLOC_OVERRIDE)
|
||||
#if defined(__APPLE__) || defined(__linux__)
|
||||
#if defined(__APPLE__)
|
||||
#include <pthread.h>
|
||||
#define MI_TLS_PTHREADS
|
||||
#elif (defined(__OpenBSD__) || defined(__DragonFly__))
|
||||
|
||||
Reference in New Issue
Block a user