this repo has no description
1// (C) Copyright John Maddock 2002 - 2003.
2// (C) Copyright Jens Maurer 2002 - 2003.
3// (C) Copyright Beman Dawes 2002 - 2003.
4// Use, modification and distribution are subject to the
5// Boost Software License, Version 1.0. (See accompanying file
6// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
8// See http://www.boost.org for most recent version.
9
10// Comeau STL:
11
12#if !defined(__LIBCOMO__)
13# include <gecode/third-party/boost/config/no_tr1/utility.hpp>
14# if !defined(__LIBCOMO__)
15# error "This is not the Comeau STL!"
16# endif
17#endif
18
19//
20// std::streambuf<wchar_t> is non-standard
21// NOTE: versions of libcomo prior to beta28 have octal version numbering,
22// e.g. version 25 is 21 (dec)
23#if __LIBCOMO_VERSION__ <= 22
24# define GECODE_BOOST_NO_STD_WSTREAMBUF
25#endif
26
27#if (__LIBCOMO_VERSION__ <= 31) && defined(_WIN32)
28#define GECODE_BOOST_NO_SWPRINTF
29#endif
30
31#if __LIBCOMO_VERSION__ >= 31
32# define GECODE_BOOST_HAS_HASH
33# define GECODE_BOOST_HAS_SLIST
34#endif
35
36// C++0x headers not yet implemented
37//
38# define GECODE_BOOST_NO_0X_HDR_ARRAY
39# define GECODE_BOOST_NO_0X_HDR_CHRONO
40# define GECODE_BOOST_NO_0X_HDR_CODECVT
41# define GECODE_BOOST_NO_0X_HDR_CONDITION_VARIABLE
42# define GECODE_BOOST_NO_0X_HDR_FORWARD_LIST
43# define GECODE_BOOST_NO_0X_HDR_FUTURE
44# define GECODE_BOOST_NO_0X_HDR_INITIALIZER_LIST
45# define GECODE_BOOST_NO_0X_HDR_MUTEX
46# define GECODE_BOOST_NO_0X_HDR_RANDOM
47# define GECODE_BOOST_NO_0X_HDR_RATIO
48# define GECODE_BOOST_NO_0X_HDR_REGEX
49# define GECODE_BOOST_NO_0X_HDR_SYSTEM_ERROR
50# define GECODE_BOOST_NO_0X_HDR_THREAD
51# define GECODE_BOOST_NO_0X_HDR_TUPLE
52# define GECODE_BOOST_NO_0X_HDR_TYPE_TRAITS
53# define GECODE_BOOST_NO_0X_HDR_TYPEINDEX
54# define GECODE_BOOST_NO_STD_UNORDERED // deprecated; see following
55# define GECODE_BOOST_NO_0X_HDR_UNORDERED_MAP
56# define GECODE_BOOST_NO_0X_HDR_UNORDERED_SET
57# define GECODE_BOOST_NO_NUMERIC_LIMITS_LOWEST
58
59//
60// Intrinsic type_traits support.
61// The SGI STL has it's own __type_traits class, which
62// has intrinsic compiler support with SGI's compilers.
63// Whatever map SGI style type traits to boost equivalents:
64//
65#define GECODE_BOOST_HAS_SGI_TYPE_TRAITS
66
67#define GECODE_BOOST_STDLIB "Comeau standard library " GECODE_BOOST_STRINGIZE(__LIBCOMO_VERSION__)
68
69