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