author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
// (C) Copyright John Maddock 2001. |
sl@0 | 2 |
// (C) Copyright Darin Adler 2001. |
sl@0 | 3 |
// Use, modification and distribution are subject to the |
sl@0 | 4 |
// Boost Software License, Version 1.0. (See accompanying file |
sl@0 | 5 |
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
sl@0 | 6 |
|
sl@0 | 7 |
// See http://www.boost.org for most recent version. |
sl@0 | 8 |
|
sl@0 | 9 |
// Metrowerks standard library: |
sl@0 | 10 |
|
sl@0 | 11 |
#ifndef __MSL_CPP__ |
sl@0 | 12 |
# include <boost/config/no_tr1/utility.hpp> |
sl@0 | 13 |
# ifndef __MSL_CPP__ |
sl@0 | 14 |
# error This is not the MSL standard library! |
sl@0 | 15 |
# endif |
sl@0 | 16 |
#endif |
sl@0 | 17 |
|
sl@0 | 18 |
#if __MSL_CPP__ >= 0x6000 // Pro 6 |
sl@0 | 19 |
# define BOOST_HAS_HASH |
sl@0 | 20 |
# define BOOST_STD_EXTENSION_NAMESPACE Metrowerks |
sl@0 | 21 |
#endif |
sl@0 | 22 |
#define BOOST_HAS_SLIST |
sl@0 | 23 |
|
sl@0 | 24 |
#if __MSL_CPP__ < 0x6209 |
sl@0 | 25 |
# define BOOST_NO_STD_MESSAGES |
sl@0 | 26 |
#endif |
sl@0 | 27 |
|
sl@0 | 28 |
// check C lib version for <stdint.h> |
sl@0 | 29 |
#include <cstddef> |
sl@0 | 30 |
|
sl@0 | 31 |
#if defined(__MSL__) && (__MSL__ >= 0x5000) |
sl@0 | 32 |
# define BOOST_HAS_STDINT_H |
sl@0 | 33 |
# if !defined(__PALMOS_TRAPS__) |
sl@0 | 34 |
# define BOOST_HAS_UNISTD_H |
sl@0 | 35 |
# endif |
sl@0 | 36 |
// boilerplate code: |
sl@0 | 37 |
# include <boost/config/posix_features.hpp> |
sl@0 | 38 |
#endif |
sl@0 | 39 |
|
sl@0 | 40 |
#if defined(_MWMT) || _MSL_THREADSAFE |
sl@0 | 41 |
# define BOOST_HAS_THREADS |
sl@0 | 42 |
#endif |
sl@0 | 43 |
|
sl@0 | 44 |
#ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG |
sl@0 | 45 |
# define BOOST_NO_STD_USE_FACET |
sl@0 | 46 |
# define BOOST_HAS_TWO_ARG_USE_FACET |
sl@0 | 47 |
#endif |
sl@0 | 48 |
|
sl@0 | 49 |
|
sl@0 | 50 |
#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__) |
sl@0 | 51 |
|
sl@0 | 52 |
|
sl@0 | 53 |
|
sl@0 | 54 |
|
sl@0 | 55 |
|
sl@0 | 56 |
|
sl@0 | 57 |
|
sl@0 | 58 |
|
sl@0 | 59 |