forked from boostorg/integer
Added NetBSD patches from Angus Leeming
[SVN r19804]
This commit is contained in:
@ -99,13 +99,14 @@ class integer_traits<wchar_t>
|
|||||||
#elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400))\
|
#elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400))\
|
||||||
|| (defined __APPLE__)\
|
|| (defined __APPLE__)\
|
||||||
|| (defined(__OpenBSD__) && defined(__GNUC__))\
|
|| (defined(__OpenBSD__) && defined(__GNUC__))\
|
||||||
|
|| (defined(__NetBSD__) && defined(__GNUC__))\
|
||||||
|| (defined(__FreeBSD__) && defined(__GNUC__))\
|
|| (defined(__FreeBSD__) && defined(__GNUC__))\
|
||||||
|| (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))
|
|| (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))
|
||||||
// No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as int.
|
// No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as int.
|
||||||
// - SGI MIPSpro with native library
|
// - SGI MIPSpro with native library
|
||||||
// - gcc 3.x on HP-UX
|
// - gcc 3.x on HP-UX
|
||||||
// - Mac OS X with native library
|
// - Mac OS X with native library
|
||||||
// - gcc on FreeBSD
|
// - gcc on FreeBSD, OpenBSD and NetBSD
|
||||||
public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX>
|
public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX>
|
||||||
#elif defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 2) && !defined(__SGI_STL_PORT)
|
#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.
|
// No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as unsigned int.
|
||||||
@ -215,3 +216,4 @@ class integer_traits<unsigned long long>
|
|||||||
#endif /* BOOST_INTEGER_TRAITS_HPP */
|
#endif /* BOOST_INTEGER_TRAITS_HPP */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user