From 0fb2ab04a6a319b79d29034fecfa84eb3a791fd8 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 16 Nov 2020 07:15:29 -0600 Subject: [PATCH] Issue #1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc --- memory/mozjemalloc/jemalloc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index 8b097fe3d1..b3b33aac85 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -305,6 +305,9 @@ typedef long ssize_t; #include #include #include +#ifndef _pthread_self +#define _pthread_self() pthread_self() +#endif #endif #endif