aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-11-17 15:14:57 -0800
committerJason Evans <jasone@canonware.com>2016-11-17 15:16:27 -0800
commit949a27fc329e6a55a94857a401765d017f13f8ff (patch)
tree16edfdcad26793da9e87639ab05f014c864480c1 /include
parent62f2d84e7aebaa25df32a0ae882cc856e5218687 (diff)
downloadjemalloc-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.in3
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.
*/