diff options
author | Brian Smith <brian@dbsoft.org> | 2020-11-16 07:15:29 -0600 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2020-11-16 07:15:29 -0600 |
commit | b6d909ad17c44157c9cbea90078727414f759253 (patch) | |
tree | cb46f0a79bcc62de6ccb2edb0e52d969894aeec6 /memory | |
parent | 6bc5748b00efcd5a30b5736a2f89ef21c9362869 (diff) | |
download | UXP-b6d909ad17c44157c9cbea90078727414f759253.tar UXP-b6d909ad17c44157c9cbea90078727414f759253.tar.gz UXP-b6d909ad17c44157c9cbea90078727414f759253.tar.lz UXP-b6d909ad17c44157c9cbea90078727414f759253.tar.xz UXP-b6d909ad17c44157c9cbea90078727414f759253.zip |
Issue #1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc
Diffstat (limited to 'memory')
-rw-r--r-- | memory/mozjemalloc/jemalloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <mach/mach_init.h> #include <mach/vm_map.h> #include <malloc/malloc.h> +#ifndef _pthread_self +#define _pthread_self() pthread_self() +#endif #endif #endif |