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
path: root/std
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2014-08-25 19:43:51 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:25:30 +0300
commite82152f267d49cd00cf7fa676697bfe1b7c60ae5 (patch)
tree9cebd72d04fd50480ea343f32fc48fc9c075cf20 /std
parentfaba78e0c4db8f820709188146a29495836a660b (diff)
[c++11] Backport for gcc 4.6 support
Diffstat (limited to 'std')
-rw-r--r--std/bind.hpp2
-rw-r--r--std/function.hpp2
-rw-r--r--std/shared_ptr.hpp2
-rw-r--r--std/weak_ptr.hpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/std/bind.hpp b/std/bind.hpp
index 88a9e85cff..07c5abfc54 100644
--- a/std/bind.hpp
+++ b/std/bind.hpp
@@ -6,7 +6,7 @@
#undef new
#endif
-#if __cplusplus > 199711L
+#if (__cplusplus > 199711L) || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <functional>
using std::bind;
diff --git a/std/function.hpp b/std/function.hpp
index ca461298d5..9c3f6d9a4c 100644
--- a/std/function.hpp
+++ b/std/function.hpp
@@ -5,7 +5,7 @@
#undef new
#endif
-#if __cplusplus > 199711L
+#if (__cplusplus > 199711L) || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <functional>
using std::function;
diff --git a/std/shared_ptr.hpp b/std/shared_ptr.hpp
index fd70c8f731..d05e4e0b25 100644
--- a/std/shared_ptr.hpp
+++ b/std/shared_ptr.hpp
@@ -5,7 +5,7 @@
#undef new
#endif
-#if __cplusplus > 199711L
+#if (__cplusplus > 199711L) || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <memory>
using std::shared_ptr;
diff --git a/std/weak_ptr.hpp b/std/weak_ptr.hpp
index ac9f183e07..842e086efd 100644
--- a/std/weak_ptr.hpp
+++ b/std/weak_ptr.hpp
@@ -5,7 +5,7 @@
#undef new
#endif
-#if __cplusplus > 199711L
+#if (__cplusplus > 199711L) || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <memory>
using std::weak_ptr;