From d08665a846c36a3b31913da463d51a6add512df1 Mon Sep 17 00:00:00 2001 From: Caleb Epstein Date: Tue, 14 Jun 2005 22:19:42 +0000 Subject: [PATCH] Moved endianness detection to [SVN r29574] --- include/boost/detail/limits.hpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/include/boost/detail/limits.hpp b/include/boost/detail/limits.hpp index cd5ac0dc..414ca975 100644 --- a/include/boost/detail/limits.hpp +++ b/include/boost/detail/limits.hpp @@ -42,26 +42,12 @@ #include #include #include +#include #ifndef BOOST_NO_CWCHAR #include // for WCHAR_MIN and WCHAR_MAX #endif -// The macros are not named appropriately. We don't care about integer -// bit layout, but about floating-point NaN (etc.) bit patterns. -#if defined(__sparc) || defined(__sparc__) \ - || defined(_POWER) || defined(__powerpc__) \ - || defined(__ppc__) || defined(__hppa) \ - || defined(_MIPSEB) || defined(_POWER) \ - || defined(__s390__) -#define BOOST_BIG_ENDIAN -#elif defined(__i386__) || defined(__alpha__) \ - || defined(__ia64) || defined(__ia64__) -#define BOOST_LITTLE_ENDIAN -#else -#error The file boost/detail/limits.hpp needs to be set up for your CPU type. -#endif - namespace std { enum float_round_style {