diff --git a/boost/integer/endian.hpp b/boost/integer/endian.hpp index a860e9c..62468da 100644 --- a/boost/integer/endian.hpp +++ b/boost/integer/endian.hpp @@ -302,7 +302,7 @@ namespace boost typedef T value_type; # ifndef BOOST_ENDIAN_NO_CTORS endian() BOOST_ENDIAN_DEFAULT_CONSTRUCT -# ifdef BOOST_BIG_ENDIAN +# ifdef BOOST_LITTLE_ENDIAN endian(T val) : m_value(val) { } # else explicit endian(T val) { detail::store_little_endian(&m_value, val); }