aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-26 14:35:43 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-26 14:35:43 +0000
commitc7077c701541f7d07d41f3926f7ea9edd204347c (patch)
tree705b8153e311cc3a599b3eb57f663daceb6121c5 /include/llvm/Config
parent02b97355aa79f4403eb7677a9c595854ac175f1d (diff)
downloadexternal_llvm-c7077c701541f7d07d41f3926f7ea9edd204347c.zip
external_llvm-c7077c701541f7d07d41f3926f7ea9edd204347c.tar.gz
external_llvm-c7077c701541f7d07d41f3926f7ea9edd204347c.tar.bz2
CMake: add configure checks for pthread_rwlock_init and pthread_getspecific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 4356e7d..27ef440 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -282,6 +282,12 @@
/* Have pthread_mutex_lock */
#cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}
+/* Have pthread_rwlock_init */
+#cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}
+
+/* Have pthread_getspecific */
+#cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC}
+
/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
#undef HAVE_RAND48