Boost logo

Boost :

From: Peter Simons (simons_at_[hidden])
Date: 2002-10-18 07:36:32


The integer_traits.hpp file defines correct numeric limits for wchar_t
for FreeBSD/gcc, but not for OpenBSD/gcc. I had to change the file as
follows in order to make it work.

diff -r1.1.1.1 integer_traits.hpp
96c96
< #elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400)) || (defined __APPLE__) || (defined(__FreeBSD__) && defined(__GNUC__)) || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))

---
> #elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400)) || (defined __APPLE__) || (defined(__FreeBSD__) && defined(__GNUC__)) || (defined(__OpenBSD__) && defined(__GNUC__)) || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))
        -peter

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk