summaryrefslogtreecommitdiff
path: root/boost/intrusive/parent_from_member.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/parent_from_member.hpp')
-rw-r--r--boost/intrusive/parent_from_member.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/intrusive/parent_from_member.hpp b/boost/intrusive/parent_from_member.hpp
index e6be5bc..af3aa1f 100644
--- a/boost/intrusive/parent_from_member.hpp
+++ b/boost/intrusive/parent_from_member.hpp
@@ -12,15 +12,15 @@
#ifndef BOOST_INTRUSIVE_PARENT_FROM_MEMBER_HPP
#define BOOST_INTRUSIVE_PARENT_FROM_MEMBER_HPP
-#if defined(_MSC_VER)
-# pragma once
-#endif
-
#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>
#include <boost/intrusive/detail/parent_from_member.hpp>
+#if defined(BOOST_HAS_PRAGMA_ONCE)
+# pragma once
+#endif
+
namespace boost {
namespace intrusive {