summaryrefslogtreecommitdiff
path: root/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/lockfree/detail/tagged_ptr_ptrcompression.hpp')
-rw-r--r--boost/lockfree/detail/tagged_ptr_ptrcompression.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp b/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
index 15d383018c..bcf6e34f6b 100644
--- a/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
+++ b/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
@@ -1,6 +1,6 @@
// tagged pointer, for aba prevention
//
-// Copyright (C) 2008, 2009 Tim Blechmann, based on code by Cory Nelson
+// Copyright (C) 2008, 2009, 2016 Tim Blechmann, based on code by Cory Nelson
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
@@ -13,13 +13,13 @@
#include <limits>
#include <boost/cstdint.hpp>
-
+#include <boost/predef.h>
namespace boost {
namespace lockfree {
namespace detail {
-#if defined (__x86_64__) || defined (_M_X64)
+#ifdef BOOST_ARCH_X86_64
template <class T>
class tagged_ptr