aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
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
commitcc135af2edef12470b1ed387105e93441f21d28b (patch)
treeef1c58589fb0ec613a98e770c1204a453264887c /include/llvm/Config
parent8768bff8f38323e7fca82917cb9f94648423d706 (diff)
downloadexternal_llvm-cc135af2edef12470b1ed387105e93441f21d28b.zip
external_llvm-cc135af2edef12470b1ed387105e93441f21d28b.tar.gz
external_llvm-cc135af2edef12470b1ed387105e93441f21d28b.tar.bz2
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')
-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 ac60f4d..9452ce7 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