From 21384ad0e252408a050ca86df343f57b6435acb4 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Mon, 7 Jul 2014 19:23:20 +0000 Subject: Fix compilation error in Linux libc++ builds due to use of tr1/. Patch by Sergey Matveev BUG=chromium:391792 Review URL: https://breakpad.appspot.com/7674002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1345 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/dwarf_cu_to_module.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 #include +#if defined(_LIBCPP_VERSION) +#include +#else #include +#endif #include #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. -- cgit v1.2.1