diff options
author | dim <dim@FreeBSD.org> | 2011-02-27 00:02:48 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-02-27 00:02:48 +0000 |
commit | 4004d6a3076e94bd23e681411c43682267a202fe (patch) | |
tree | 2c28e989c6afea68ef1f4e6f1377c3948375dd9e /lib/clang/include/llvm/Config/config.h | |
parent | 76f2936a08a44a2ac6766e368313d64d39813da7 (diff) | |
download | FreeBSD-src-4004d6a3076e94bd23e681411c43682267a202fe.zip FreeBSD-src-4004d6a3076e94bd23e681411c43682267a202fe.tar.gz |
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.
Diffstat (limited to 'lib/clang/include/llvm/Config/config.h')
-rw-r--r-- | lib/clang/include/llvm/Config/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 7650f51..6b0629c 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 |