summaryrefslogtreecommitdiff
path: root/boost/align/detail/address.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/align/detail/address.hpp')
-rw-r--r--boost/align/detail/address.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/boost/align/detail/address.hpp b/boost/align/detail/address.hpp
new file mode 100644
index 0000000000..a4f3a6e84d
--- /dev/null
+++ b/boost/align/detail/address.hpp
@@ -0,0 +1,27 @@
+/*
+ (c) 2014 Glen Joseph Fernandes
+ glenjofe at gmail dot com
+
+ Distributed under the Boost Software
+ License, Version 1.0.
+ http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ADDRESS_HPP
+#define BOOST_ALIGN_DETAIL_ADDRESS_HPP
+
+#include <boost/cstdint.hpp>
+#include <cstddef>
+
+namespace boost {
+ namespace alignment {
+ namespace detail {
+#if defined(BOOST_HAS_INTPTR_T)
+ typedef boost::uintptr_t address_t;
+#else
+ typedef std::size_t address_t;
+#endif
+ }
+ }
+}
+
+#endif