summaryrefslogtreecommitdiff
path: root/boost/container/throw_exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/container/throw_exception.hpp')
-rw-r--r--boost/container/throw_exception.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/container/throw_exception.hpp b/boost/container/throw_exception.hpp
index 02768856e5..2c893e95c8 100644
--- a/boost/container/throw_exception.hpp
+++ b/boost/container/throw_exception.hpp
@@ -11,7 +11,11 @@
#ifndef BOOST_CONTAINER_THROW_EXCEPTION_HPP
#define BOOST_CONTAINER_THROW_EXCEPTION_HPP
-#if defined(_MSC_VER)
+#ifndef BOOST_CONFIG_HPP
+# include <boost/config.hpp>
+#endif
+
+#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif