Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2012-01-10 20:21:21 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:31:42 +0300
commitb950bad7e3c8b7c2791291479abd8977e502f323 (patch)
treef12028ae9a364083efd34aa8d2309e175942a029 /std/vector.hpp
parent6f41b121d01195cb30c72f4cc2bd49c52a9f248b (diff)
Added debug STL version for Linux and Mac
Diffstat (limited to 'std/vector.hpp')
-rw-r--r--std/vector.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/std/vector.hpp b/std/vector.hpp
index 6c8d33afbf..c7dd3da659 100644
--- a/std/vector.hpp
+++ b/std/vector.hpp
@@ -1,11 +1,16 @@
#pragma once
#include "common_defines.hpp"
+#include "target_os.hpp"
#ifdef new
#undef new
#endif
-#include <vector>
+#if defined(DEBUG) && (defined(OMIM_OS_LINUX) || defined(OMIM_OS_MAC))
+ #include <debug/vector>
+#else
+ #include <vector>
+#endif
using std::vector;
#ifdef DEBUG_NEW