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 | |
parent | 6bc5748b00efcd5a30b5736a2f89ef21c9362869 (diff) | |
download | uxp-b6d909ad17c44157c9cbea90078727414f759253.tar.gz |
Issue #1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc
-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 86864e1cd0..0eb5241c78 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 |