msl.hpp

Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001. 
00002 //  (C) Copyright Darin Adler 2001. 
00003 //  Use, modification and distribution are subject to the 
00004 //  Boost Software License, Version 1.0. (See accompanying file 
00005 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00006 
00007 //  See http://www.boost.org for most recent version.
00008 
00009 //  Metrowerks standard library:
00010 
00011 #ifndef __MSL_CPP__
00012 #  include <utility>
00013 #  ifndef __MSL_CPP__
00014 #     error This is not the MSL standard library!
00015 #  endif
00016 #endif
00017 
00018 #if __MSL_CPP__ >= 0x6000  // Pro 6
00019 #  define BOOST_HAS_HASH
00020 #  define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
00021 #endif
00022 #define BOOST_HAS_SLIST
00023 
00024 #if __MSL_CPP__ < 0x6209
00025 #  define BOOST_NO_STD_MESSAGES
00026 #endif
00027 
00028 // check C lib version for <stdint.h>
00029 #include <cstddef>
00030 
00031 #if defined(__MSL__) && (__MSL__ >= 0x5000)
00032 #  define BOOST_HAS_STDINT_H
00033 #  if !defined(__PALMOS_TRAPS__)
00034 #    define BOOST_HAS_UNISTD_H
00035 #  endif
00036    // boilerplate code:
00037 #  include <sysc/packages/boost/config/posix_features.hpp>
00038 #endif
00039 
00040 #if defined(_MWMT) || _MSL_THREADSAFE
00041 #  define BOOST_HAS_THREADS
00042 #endif
00043 
00044 #ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
00045 #  define BOOST_NO_STD_USE_FACET
00046 #  define BOOST_HAS_TWO_ARG_USE_FACET
00047 #endif
00048 
00049 
00050 #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5