summaryrefslogtreecommitdiff
path: root/boost/container/detail/function_detector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/container/detail/function_detector.hpp')
-rw-r--r--boost/container/detail/function_detector.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/container/detail/function_detector.hpp b/boost/container/detail/function_detector.hpp
index 242eb41..00caced 100644
--- a/boost/container/detail/function_detector.hpp
+++ b/boost/container/detail/function_detector.hpp
@@ -22,7 +22,11 @@
#ifndef BOOST_CONTAINER_DETAIL_FUNCTION_DETECTOR_HPP
#define BOOST_CONTAINER_DETAIL_FUNCTION_DETECTOR_HPP
-#if defined(_MSC_VER)
+#ifndef BOOST_CONFIG_HPP
+# include <boost/config.hpp>
+#endif
+
+#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif