]> git.lyx.org Git - features.git/commitdiff
(Michael Schmitt) Enable compilation on NetBSD.
authorAngus Leeming <leeming@lyx.org>
Sat, 23 Aug 2003 10:07:08 +0000 (10:07 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 23 Aug 2003 10:07:08 +0000 (10:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7601 a592a061-630c-0410-9148-cb99ea01b6c8

boost/ChangeLog
boost/boost/integer_traits.hpp

index 8defb6c2dae8c66a568ff5009ad8bca3e411ecec..30a5a51fa4cd71b50fba13553e8caaf431a10dcb 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-21  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * boost/integer_traits.hpp: fix compile error on NetBSD
+
 2003-08-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * boost/config/user.hpp: do not use BOOST_NO_EXCEPTIONS here, that
index 428081e07a0b4fcfbc1743713635d754e1e3b672..774f02e51b87eec5a21d91c03c733206fa4c439f 100644 (file)
@@ -10,7 +10,7 @@
  * software for any purpose. It is provided "as is" without express or
  * implied warranty.
  *
- * $Id: integer_traits.hpp,v 1.22 2002/12/27 16:51:52 beman_dawes Exp $
+ * $Id: integer_traits.hpp,v 1.11 2003/08/07 12:09:23 larsbj Exp $
  *
  * Idea by Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers
  */
@@ -99,13 +99,14 @@ class integer_traits<wchar_t>
 #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<wchar_t, INT_MIN, INT_MAX>
 #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.