summaryrefslogtreecommitdiff
path: root/boost/intrusive/detail/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/detail/assert.hpp')
-rw-r--r--boost/intrusive/detail/assert.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/intrusive/detail/assert.hpp b/boost/intrusive/detail/assert.hpp
index d75d225ac4..7199eb240c 100644
--- a/boost/intrusive/detail/assert.hpp
+++ b/boost/intrusive/detail/assert.hpp
@@ -13,7 +13,11 @@
#ifndef BOOST_INTRUSIVE_DETAIL_ASSERT_HPP
#define BOOST_INTRUSIVE_DETAIL_ASSERT_HPP
-#if defined(_MSC_VER)
+#ifndef BOOST_CONFIG_HPP
+# include <boost/config.hpp>
+#endif
+
+#if defined(BOOST_HAS_PRAGMA_ONCE)
#pragma once
#endif