summaryrefslogtreecommitdiff
path: root/boost/functional/hash/detail/limits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/functional/hash/detail/limits.hpp')
-rw-r--r--boost/functional/hash/detail/limits.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/functional/hash/detail/limits.hpp b/boost/functional/hash/detail/limits.hpp
index f5b520ea9d..4a971a6ac2 100644
--- a/boost/functional/hash/detail/limits.hpp
+++ b/boost/functional/hash/detail/limits.hpp
@@ -9,8 +9,9 @@
#if !defined(BOOST_FUNCTIONAL_HASH_DETAIL_LIMITS_HEADER)
#define BOOST_FUNCTIONAL_HASH_DETAIL_LIMITS_HEADER
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
+#include <boost/config.hpp>
+#if defined(BOOST_HAS_PRAGMA_ONCE)
+#pragma once
#endif
#include <boost/limits.hpp>