summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-25 16:05:24 +0200
committermadmaxoft <github@xoft.cz>2014-04-25 16:05:24 +0200
commit6d167b370e409d77eb2b9e02bc95b80463670823 (patch)
tree25621dba3e5eb1c4c44718eac07d34ee85b606fc
parentAdded shared_ptr handling for C++03 mode. (diff)
downloadcuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.gz
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.bz2
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.lz
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.xz
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.tar.zst
cuberite-6d167b370e409d77eb2b9e02bc95b80463670823.zip
Diffstat (limited to '')
-rw-r--r--src/Globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 93baf69ea..a09819ce9 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -272,7 +272,7 @@ template class SizeChecker<UInt16, 2>;
#if (defined(_MSC_VER) && (_MSC_VER < 1600))
// MSVC before 2010 doesn't have std::shared_ptr, but has std::tr1::shared_ptr, defined in <memory> included earlier
#define SharedPtr std::tr1::shared_ptr
-#elif (__cplusplus > 201103L)
+#elif (__cplusplus >= 201103L)
// C++11 has std::shared_ptr in <memory>, included earlier
#define SharedPtr std::shared_ptr
#else