diff options
author | John Criswell <criswell@uiuc.edu> | 2004-09-24 21:19:06 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-09-24 21:19:06 +0000 |
commit | 4046846d2cb36a6281b853c73776584063cca19d (patch) | |
tree | 6191874566147f65063c83f4f05387e9a0102638 /include/llvm/Support/MutexGuard.h | |
parent | 9f011866e90928b9b798692a9cf0180e8f327540 (diff) |
Updated the last two header files so that they are configured with
AC_CONFIG_HEADERS. This should prevent LLVM from needlessly re-compiling
on a re-configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MutexGuard.h')
-rw-r--r-- | include/llvm/Support/MutexGuard.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/MutexGuard.h b/include/llvm/Support/MutexGuard.h index 48428b8cde..427e0c3a22 100644 --- a/include/llvm/Support/MutexGuard.h +++ b/include/llvm/Support/MutexGuard.h @@ -17,7 +17,9 @@ #ifndef SUPPORT_THREADSUPPORT_H #define SUPPORT_THREADSUPPORT_H -#if @HAVE_PTHREAD_MUTEX_LOCK@ +#undef HAVE_PTHREAD_MUTEX_LOCK + +#ifdef HAVE_PTHREAD_MUTEX_LOCK #include "llvm/Support/ThreadSupport-PThreads.h" #else #include "llvm/Support/ThreadSupport-NoSupport.h" |