aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2009-05-06 14:27:59 +0000
committerOscar Fuentes <ofv@wanadoo.es>2009-05-06 14:27:59 +0000
commitec8b2a95303ef51acdf5b034ab8f4371665fc136 (patch)
tree369e83ab717207930d086b7e62f3e3f5e839c80c /include
parentba842e387f0f89cbba45fb057a1913f8c5f789c8 (diff)
downloadexternal_llvm-ec8b2a95303ef51acdf5b034ab8f4371665fc136.zip
external_llvm-ec8b2a95303ef51acdf5b034ab8f4371665fc136.tar.gz
external_llvm-ec8b2a95303ef51acdf5b034ab8f4371665fc136.tar.bz2
CMake: Added cmakedefine for HAVE_PTHREAD_H.
Patch by Robert Schuster! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Config/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 82f8828..cabf0f1 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -276,6 +276,9 @@
/* Define to have the %a format string */
#undef HAVE_PRINTF_A
+/* Have pthread.h */
+#cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}
+
/* Have pthread_mutex_lock */
#cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}