summaryrefslogtreecommitdiff
path: root/boost/intrusive/link_mode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/link_mode.hpp')
-rw-r--r--boost/intrusive/link_mode.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/intrusive/link_mode.hpp b/boost/intrusive/link_mode.hpp
index c7245d9c1f..4ba4daff7d 100644
--- a/boost/intrusive/link_mode.hpp
+++ b/boost/intrusive/link_mode.hpp
@@ -13,7 +13,7 @@
#ifndef BOOST_INTRUSIVE_LINK_MODE_HPP
#define BOOST_INTRUSIVE_LINK_MODE_HPP
-#if defined(_MSC_VER)
+#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif
@@ -50,7 +50,7 @@ enum link_mode_type{
template <link_mode_type link_mode>
struct is_safe_autounlink
{
- static const bool value =
+ static const bool value =
(int)link_mode == (int)auto_unlink ||
(int)link_mode == (int)safe_link;
};