os/ossrv/ossrv_pub/boost_apis/boost/config/stdlib/libcomo.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
//  (C) Copyright John Maddock 2002 - 2003. 
sl@0
     2
//  (C) Copyright Jens Maurer 2002 - 2003. 
sl@0
     3
//  (C) Copyright Beman Dawes 2002 - 2003. 
sl@0
     4
//  Use, modification and distribution are subject to the 
sl@0
     5
//  Boost Software License, Version 1.0. (See accompanying file 
sl@0
     6
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
sl@0
     7
sl@0
     8
//  See http://www.boost.org for most recent version.
sl@0
     9
sl@0
    10
//  Comeau STL:
sl@0
    11
sl@0
    12
#if !defined(__LIBCOMO__)
sl@0
    13
#  include <boost/config/no_tr1/utility.hpp>
sl@0
    14
#  if !defined(__LIBCOMO__)
sl@0
    15
#      error "This is not the Comeau STL!"
sl@0
    16
#  endif
sl@0
    17
#endif
sl@0
    18
sl@0
    19
//
sl@0
    20
// std::streambuf<wchar_t> is non-standard
sl@0
    21
// NOTE: versions of libcomo prior to beta28 have octal version numbering,
sl@0
    22
// e.g. version 25 is 21 (dec)
sl@0
    23
#if __LIBCOMO_VERSION__ <= 22
sl@0
    24
#  define BOOST_NO_STD_WSTREAMBUF
sl@0
    25
#endif
sl@0
    26
sl@0
    27
#if (__LIBCOMO_VERSION__ <= 31) && defined(_WIN32)
sl@0
    28
#define BOOST_NO_SWPRINTF
sl@0
    29
#endif
sl@0
    30
sl@0
    31
#if __LIBCOMO_VERSION__ >= 31
sl@0
    32
#  define BOOST_HAS_HASH
sl@0
    33
#  define BOOST_HAS_SLIST
sl@0
    34
#endif
sl@0
    35
sl@0
    36
//
sl@0
    37
// Intrinsic type_traits support.
sl@0
    38
// The SGI STL has it's own __type_traits class, which
sl@0
    39
// has intrinsic compiler support with SGI's compilers.
sl@0
    40
// Whatever map SGI style type traits to boost equivalents:
sl@0
    41
//
sl@0
    42
#define BOOST_HAS_SGI_TYPE_TRAITS
sl@0
    43
sl@0
    44
#define BOOST_STDLIB "Comeau standard library " BOOST_STRINGIZE(__LIBCOMO_VERSION__)
sl@0
    45
sl@0
    46