From aa6e232bf170ad8b856aff9e7c70334f77441c7f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 1 Jan 2020 16:08:28 -0600 Subject: [PATCH] Remove deprecated Boost endian macros. --- include/boost/detail/endian.hpp | 11 -------- include/boost/predef/detail/endian_compat.h | 28 --------------------- 2 files changed, 39 deletions(-) delete mode 100644 include/boost/detail/endian.hpp delete mode 100644 include/boost/predef/detail/endian_compat.h diff --git a/include/boost/detail/endian.hpp b/include/boost/detail/endian.hpp deleted file mode 100644 index f576c26..0000000 --- a/include/boost/detail/endian.hpp +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2013 Rene Rivera -// Distributed under the Boost Software License, Version 1.0. (See accompany- -// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#ifndef BOOST_DETAIL_ENDIAN_HPP -#define BOOST_DETAIL_ENDIAN_HPP - -// Use the Predef library for the detection of endianess. -#include - -#endif diff --git a/include/boost/predef/detail/endian_compat.h b/include/boost/predef/detail/endian_compat.h deleted file mode 100644 index 421064e..0000000 --- a/include/boost/predef/detail/endian_compat.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright Rene Rivera 2013-2018 -Distributed under the Boost Software License, Version 1.0. -(See accompanying file LICENSE_1_0.txt or copy at -http://www.boost.org/LICENSE_1_0.txt) -*/ - -#ifndef BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H -#define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H - -#pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include and use BOOST_ENDIAN_*_BYTE instead") - -#include - -#if BOOST_ENDIAN_BIG_BYTE -# define BOOST_BIG_ENDIAN -# define BOOST_BYTE_ORDER 4321 -#endif -#if BOOST_ENDIAN_LITTLE_BYTE -# define BOOST_LITTLE_ENDIAN -# define BOOST_BYTE_ORDER 1234 -#endif -#if BOOST_ENDIAN_LITTLE_WORD -# define BOOST_PDP_ENDIAN -# define BOOST_BYTE_ORDER 2134 -#endif - -#endif