X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Fdetail%2Flimits.hpp;h=5f478e3ece13d6c67eb0e686565a576c7f452122;hb=fce4ab0e79bfda9651d7d7f3c951bfb5d7516fc5;hp=2249e84a2d569fe84934b93fa5e340e17756f252;hpb=fa06f3acc21a2035e115ef5d47adfd08c9494ff6;p=lyx.git diff --git a/boost/boost/detail/limits.hpp b/boost/boost/detail/limits.hpp index 2249e84a2d..5f478e3ece 100644 --- a/boost/boost/detail/limits.hpp +++ b/boost/boost/detail/limits.hpp @@ -49,9 +49,9 @@ // 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(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) +#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER) #define BOOST_BIG_ENDIAN -#elif defined(__i386__) || defined(__alpha__) +#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. @@ -358,15 +358,10 @@ class numeric_limits # define LONGLONG_MIN (-LONGLONG_MAX - 1) #endif -template<> -class numeric_limits - : public _Integer_limits -{}; -template<> -class numeric_limits - : public _Integer_limits -{}; +#if !defined(ULONGLONG_MIN) +# define ULONGLONG_MIN 0 +#endif #endif /* __GNUC__ */