After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
diff --git a/lldb/tools/debugserver/source/DNBTimer.h b/lldb/tools/debugserver/source/DNBTimer.h
index ac69d9a..717e156 100644
--- a/lldb/tools/debugserver/source/DNBTimer.h
+++ b/lldb/tools/debugserver/source/DNBTimer.h
@@ -16,6 +16,7 @@
#include <sys/time.h>
#include <stdint.h>
+#include <memory>
#include "DNBDefs.h"
#include "PThreadMutex.h"
@@ -155,7 +156,7 @@
//------------------------------------------------------------------
// Classes that inherit from DNBTimer can see and modify these
//------------------------------------------------------------------
- STD_UNIQUE_PTR(PThreadMutex) m_mutexAP;
+ std::unique_ptr<PThreadMutex> m_mutexAP;
struct timeval m_timeval;
};