From 46fdbba4b88c9c14d0ef4bd1f00fb4f67ecee6c1 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 27 Aug 2003 10:30:53 +0000 Subject: [PATCH] Added NetBSD patches from Angus Leeming [SVN r19804] --- include/boost/integer_traits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index ad8ab76..4f71ad1 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -99,13 +99,14 @@ class integer_traits #elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400))\ || (defined __APPLE__)\ || (defined(__OpenBSD__) && defined(__GNUC__))\ + || (defined(__NetBSD__) && defined(__GNUC__))\ || (defined(__FreeBSD__) && defined(__GNUC__))\ || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT)) // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as int. // - SGI MIPSpro with native library // - gcc 3.x on HP-UX // - Mac OS X with native library - // - gcc on FreeBSD + // - gcc on FreeBSD, OpenBSD and NetBSD public detail::integer_traits_base #elif defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 2) && !defined(__SGI_STL_PORT) // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as unsigned int. @@ -215,3 +216,4 @@ class integer_traits #endif /* BOOST_INTEGER_TRAITS_HPP */ +