diff options
author | Jason Evans <jasone@canonware.com> | 2016-11-17 15:14:57 -0800 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-11-17 15:16:27 -0800 |
commit | 949a27fc329e6a55a94857a401765d017f13f8ff (patch) | |
tree | 16edfdcad26793da9e87639ab05f014c864480c1 /include | |
parent | 62f2d84e7aebaa25df32a0ae882cc856e5218687 (diff) | |
download | jemalloc-949a27fc329e6a55a94857a401765d017f13f8ff.tar.gz |
Add pthread_atfork(3) feature test.
Some versions of Android provide a pthreads library without providing
pthread_atfork(), so in practice a separate feature test is necessary
for the latter.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_defs.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h.in b/include/jemalloc/internal/jemalloc_internal_defs.h.in index 5419513..d530119 100644 --- a/include/jemalloc/internal/jemalloc_internal_defs.h.in +++ b/include/jemalloc/internal/jemalloc_internal_defs.h.in @@ -79,6 +79,9 @@ */ #undef JEMALLOC_HAVE_ISSETUGID +/* Defined if pthread_atfork(3) is available. */ +#undef JEMALLOC_HAVE_PTHREAD_ATFORK + /* * Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available. */ |