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