diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-02-27 00:02:48 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-02-27 00:02:48 +0000 |
commit | 86b360ada30f75113cafbf6d5a6f30aa8f3c18c2 (patch) | |
tree | 2c28e989c6afea68ef1f4e6f1377c3948375dd9e /lib/clang/include | |
parent | ded66df8cb8201739e9c63a9bbcbe53d3de76739 (diff) | |
download | src-86b360ada30f75113cafbf6d5a6f30aa8f3c18c2.tar.gz src-86b360ada30f75113cafbf6d5a6f30aa8f3c18c2.zip |
Instead of defining LLVM_MULTITHREADED as 0 or 1, define or undefine it,
and test appropriately. Otherwise it might erroneously pick up some
pthread primitives, and fail to link.
Notes
Notes:
svn path=/head/; revision=219076
Diffstat (limited to 'lib/clang/include')
-rw-r--r-- | lib/clang/include/llvm/Config/config.h | 2 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/llvm-config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 7650f5132473..6b0629cd6c18 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -564,7 +564,7 @@ /* #undef LLVM_MANDIR */ /* Build multithreading support into LLVM */ -#define LLVM_MULTITHREADED 0 +/* #undef LLVM_MULTITHREADED */ /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index e6912ba5f1e8..fc3ec97c15b6 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -49,7 +49,7 @@ /* #undef LLVM_MANDIR */ /* Build multithreading support into LLVM */ -#define LLVM_MULTITHREADED 0 +/* #undef LLVM_MULTITHREADED */ /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 |