diff options
author | Stuart Henderson <sthen@users.noreply.github.com> | 2021-01-25 18:41:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 19:41:54 +0100 |
commit | 6e95418f15722647f960d8f773edbbecbb46a73c (patch) | |
tree | 4bc851f3d90894586a2c46e0375071adba6acd70 /cmake/config.h.in | |
parent | 98b33792cbe33d306735d3026dab566cdfd0013e (diff) | |
download | ccache-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.in | 3 |
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 |