summaryrefslogtreecommitdiff
path: root/include/llvm/Config/config.h.in
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-25 23:10:26 +0000
committerOwen Anderson <resistor@mac.com>2009-06-25 23:10:26 +0000
commit27fcfe1364943dadd99fd0ef5af6793f58acc446 (patch)
treeef1c58589fb0ec613a98e770c1204a453264887c /include/llvm/Config/config.h.in
parentc9ee1189c52930812a987932874667f1e04d6715 (diff)
downloadllvm-27fcfe1364943dadd99fd0ef5af6793f58acc446.tar.gz
llvm-27fcfe1364943dadd99fd0ef5af6793f58acc446.tar.bz2
llvm-27fcfe1364943dadd99fd0ef5af6793f58acc446.tar.xz
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.in')
-rw-r--r--include/llvm/Config/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index ac60f4dc3a..9452ce7c0d 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -279,6 +279,9 @@
/* Define to have the %a format string */
#undef HAVE_PRINTF_A
+/* Have pthread_getspecific */
+#undef HAVE_PTHREAD_GETSPECIFIC
+
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H