summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2020-02-01 14:33:24 -0800
committerdaan <daanl@outlook.com>2020-02-01 14:33:34 -0800
commitfea903900d7f40c1c9af4f9059dc2fbfaa6a187c (patch)
tree0f67c2ad6b33ab33d1978249e036c90e719910ea /include/mimalloc-internal.h
parent10009490b851389e560306c414e1efb0884f018e (diff)
use __thread locals on linux
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 872c526..7173a18 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -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__))