mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Fix the gettid() detection caught by @mrluanma .
This commit is contained in:
@@ -411,6 +411,9 @@
|
||||
/* Adaptive mutex support in pthreads. */
|
||||
#undef JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
|
||||
|
||||
/* gettid() support */
|
||||
#undef JEMALLOC_HAVE_GETTID
|
||||
|
||||
/* GNU specific sched_getcpu support */
|
||||
#undef JEMALLOC_HAVE_SCHED_GETCPU
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "jemalloc/internal/malloc_io.h"
|
||||
#include "jemalloc/internal/prof_sys.h"
|
||||
|
||||
#if defined (__linux__) && defined(JE_HAVE_GETTID)
|
||||
#if defined (__linux__) && defined(JEMALLOC_HAVE_GETTID)
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
Reference in New Issue
Block a user