summaryrefslogtreecommitdiff
path: root/boost/unordered_set.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/unordered_set.hpp')
-rw-r--r--boost/unordered_set.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/unordered_set.hpp b/boost/unordered_set.hpp
index 98c3ce1d7d..1c83c02b28 100644
--- a/boost/unordered_set.hpp
+++ b/boost/unordered_set.hpp
@@ -9,8 +9,9 @@
#ifndef BOOST_UNORDERED_SET_HPP_INCLUDED
#define BOOST_UNORDERED_SET_HPP_INCLUDED
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
+#include <boost/config.hpp>
+#if defined(BOOST_HAS_PRAGMA_ONCE)
+#pragma once
#endif
#include <boost/unordered/unordered_set.hpp>