summaryrefslogtreecommitdiff
path: root/boost/typeof/typeof.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/typeof/typeof.hpp')
-rw-r--r--boost/typeof/typeof.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/typeof/typeof.hpp b/boost/typeof/typeof.hpp
index 1efa3dc8c4..d2c49fbcc1 100644
--- a/boost/typeof/typeof.hpp
+++ b/boost/typeof/typeof.hpp
@@ -14,8 +14,9 @@
#endif
#include <boost/config.hpp>
+#include <boost/config/workaround.hpp>
-#if !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_TYPEOF_EMULATION)
+#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1900) && !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_TYPEOF_EMULATION)
# define BOOST_TYPEOF_DECLTYPE
# ifndef BOOST_TYPEOF_NATIVE
# define BOOST_TYPEOF_NATIVE