summaryrefslogtreecommitdiff
path: root/boost/intrusive/detail/function_detector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/detail/function_detector.hpp')
-rw-r--r--boost/intrusive/detail/function_detector.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/intrusive/detail/function_detector.hpp b/boost/intrusive/detail/function_detector.hpp
index f72865d..5ecaeaf 100644
--- a/boost/intrusive/detail/function_detector.hpp
+++ b/boost/intrusive/detail/function_detector.hpp
@@ -22,7 +22,11 @@
#ifndef BOOST_INTRUSIVE_DETAIL_FUNCTION_DETECTOR_HPP
#define BOOST_INTRUSIVE_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