Create multilevel debug mode
llvm-svn: 139913
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: cec9af9ead1269be5a17a7d81ba55173d74c9d21
diff --git a/src/debug.cpp b/src/debug.cpp
index 42e5edb..04d5063 100644
--- a/src/debug.cpp
+++ b/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 @@
{
typedef mutex mutex_type;
-// struct mutex_type
-// {
-// void lock() {}
-// void unlock() {};
-// };
typedef lock_guard<mutex_type> WLock;
typedef lock_guard<mutex_type> RLock;