aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf_cu_to_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dwarf_cu_to_module.cc')
-rw-r--r--src/common/dwarf_cu_to_module.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/dwarf_cu_to_module.cc b/src/common/dwarf_cu_to_module.cc
index 297e058d..70d95ca3 100644
--- a/src/common/dwarf_cu_to_module.cc
+++ b/src/common/dwarf_cu_to_module.cc
@@ -46,7 +46,11 @@
#include <stdio.h>
#include <algorithm>
+#if defined(_LIBCPP_VERSION)
+#include <unordered_set>
+#else
#include <tr1/unordered_set>
+#endif
#include <utility>
#include "common/dwarf_line_to_module.h"
@@ -56,7 +60,11 @@ namespace google_breakpad {
using std::map;
using std::pair;
using std::sort;
+#if defined(_LIBCPP_VERSION)
+using std::unordered_set;
+#else
using std::tr1::unordered_set;
+#endif
using std::vector;
// Data provided by a DWARF specification DIE.