From b6d909ad17c44157c9cbea90078727414f759253 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 16 Nov 2020 07:15:29 -0600 Subject: 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(+) (limited to 'memory') diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index 86864e1cd..0eb5241c7 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -302,6 +302,9 @@ typedef long ssize_t; #include #include #include +#ifndef _pthread_self +#define _pthread_self() pthread_self() +#endif #endif #endif -- cgit v1.2.3