From f6c5afb5b6fb6422377e0c1679d3fbc7ab6bc869 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 22 Jan 2001 03:48:35 +0000 Subject: [PATCH] Fixed tests for long long to detect its presence on GCC [SVN r8701] --- include/boost/detail/type_traits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/type_traits.hpp b/include/boost/detail/type_traits.hpp index 3f077d2..304d860 100644 --- a/include/boost/detail/type_traits.hpp +++ b/include/boost/detail/type_traits.hpp @@ -10,6 +10,8 @@ // see libs/utility/type_traits.htm /* Release notes: + 21 Jan 2001: + Fixed tests for long long to detect its presence on GCC (David Abrahams) 03 Oct 2000: Added gcc specific fixes for memeber pointers (JM). 31st July 2000: @@ -269,7 +271,7 @@ template struct is_extension_unsigned_integral template struct is_extension_signed_integral { static const bool value = false; }; -#ifdef ULLONG_MAX +#if defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) template <> struct is_extension_unsigned_integral { static const bool value = true; }; template <> struct is_extension_signed_integral