projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the 'N' modifier from llvm-ar.
[oota-llvm.git]
/
unittests
/
Support
/
ManagedStatic.cpp
diff --git
a/unittests/Support/ManagedStatic.cpp
b/unittests/Support/ManagedStatic.cpp
index 8ddad38ecf17171612bb98e0b48aa2348748d624..1497f4e34082d520fa8b934691be0c34b9893f99 100644
(file)
--- a/
unittests/Support/ManagedStatic.cpp
+++ b/
unittests/Support/ManagedStatic.cpp
@@
-19,7
+19,8
@@
using namespace llvm;
namespace {
-#if defined(HAVE_PTHREAD_H) && !__has_feature(memory_sanitizer)
+#if LLVM_ENABLE_THREADS != 0 && defined(HAVE_PTHREAD_H) && \
+ !__has_feature(memory_sanitizer)
namespace test1 {
llvm::ManagedStatic<int> ms;
void *helper(void*) {