summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-09-16 17:29:17 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-09-16 17:29:17 +0000
commitcec9af9ead1269be5a17a7d81ba55173d74c9d21 (patch)
tree60a315406c2d92fabbe4420dd8daad2cc57fe020 /libcxx/src
parentb489e3b408dd3532ca1ac51de2ea8138b3a2b543 (diff)
downloadbcm5719-llvm-cec9af9ead1269be5a17a7d81ba55173d74c9d21.tar.gz
bcm5719-llvm-cec9af9ead1269be5a17a7d81ba55173d74c9d21.zip
Create multilevel debug mode
llvm-svn: 139913
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/debug.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/libcxx/src/debug.cpp b/libcxx/src/debug.cpp
index 42e5edb3346..04d506341aa 100644
--- a/libcxx/src/debug.cpp
+++ b/libcxx/src/debug.cpp
@@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_DEBUG2
+#define _LIBCPP_DEBUG2 1
+#include "__config"
#include "__debug"
#include "functional"
#include "algorithm"
@@ -35,11 +36,6 @@ namespace
{
typedef mutex mutex_type;
-// struct mutex_type
-// {
-// void lock() {}
-// void unlock() {};
-// };
typedef lock_guard<mutex_type> WLock;
typedef lock_guard<mutex_type> RLock;
OpenPOWER on IntegriCloud