diff --git a/doc/history.adoc b/doc/history.adoc index d21ebf9..a39a3eb 100644 --- a/doc/history.adoc +++ b/doc/history.adoc @@ -9,7 +9,7 @@ http://www.boost.org/LICENSE_1_0.txt) == 1.12 -* +* Switch to using the endian.h header on OpenBSD. (Brad Smith) == 1.11 diff --git a/include/boost/predef/other/endian.h b/include/boost/predef/other/endian.h index 0281e4a..eb82da2 100644 --- a/include/boost/predef/other/endian.h +++ b/include/boost/predef/other/endian.h @@ -54,18 +54,14 @@ information and acquired knowledge: */ #if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \ !BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD -# if BOOST_LIB_C_GNU || BOOST_PLAT_ANDROID +# if BOOST_LIB_C_GNU || BOOST_PLAT_ANDROID || BOOST_OS_BSD_OPEN # include # else # if BOOST_OS_MACOS # include # else # if BOOST_OS_BSD -# if BOOST_OS_BSD_OPEN -# include -# else -# include -# endif +# include # endif # endif # endif