summaryrefslogtreecommitdiff
path: root/cmake/config.h.in
diff options
context:
space:
mode:
authorStuart Henderson <sthen@users.noreply.github.com>2021-01-25 18:41:54 +0000
committerGitHub <noreply@github.com>2021-01-25 19:41:54 +0100
commit6e95418f15722647f960d8f773edbbecbb46a73c (patch)
tree4bc851f3d90894586a2c46e0375071adba6acd70 /cmake/config.h.in
parent98b33792cbe33d306735d3026dab566cdfd0013e (diff)
downloadccache-6e95418f15722647f960d8f773edbbecbb46a73c.tar.gz
Disable inode cache on OSes without pthread_mutexattr_setpshared() (#791)
The inode cache requires pthread_mutexattr_setpshared() and build fails on OSes with sys/mman.h that do not have this function.
Diffstat (limited to 'cmake/config.h.in')
-rw-r--r--cmake/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in
index 5151e053..b4e412f7 100644
--- a/cmake/config.h.in
+++ b/cmake/config.h.in
@@ -88,6 +88,9 @@
// Define if you have the "posix_fallocate.
#cmakedefine HAVE_POSIX_FALLOCATE
+// Define if you have the "pthread_mutexattr_setpshared" function.
+#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETPSHARED
+
// Define if you have the <pwd.h> header file.
#cmakedefine HAVE_PWD_H