summaryrefslogtreecommitdiff
path: root/libs/container/bench/varray.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/container/bench/varray.hpp')
-rw-r--r--libs/container/bench/varray.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/container/bench/varray.hpp b/libs/container/bench/varray.hpp
index 9840e617a..335c33ffe 100644
--- a/libs/container/bench/varray.hpp
+++ b/libs/container/bench/varray.hpp
@@ -11,7 +11,11 @@
#ifndef BOOST_CONTAINER_VARRAY_HPP
#define BOOST_CONTAINER_VARRAY_HPP
-#if defined(_MSC_VER)
+#ifndef BOOST_CONFIG_HPP
+# include <boost/config.hpp>
+#endif
+
+#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif