]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/config/select_stdlib_config.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
90531f204ec1c66a63269336ab833ae169d31e9a
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / select_stdlib_config.hpp
1 //  Boost compiler configuration selection header file\r
2 \r
3 //  (C) Copyright John Maddock 2001 - 2003. \r
4 //  (C) Copyright Jens Maurer 2001 - 2002. \r
5 //  Use, modification and distribution are subject to the \r
6 //  Boost Software License, Version 1.0. (See accompanying file \r
7 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r
8 \r
9 \r
10 //  See http://www.boost.org for most recent version.\r
11 \r
12 // locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:\r
13 \r
14 // First include <cstddef> to determine if some version of STLport is in use as the std lib\r
15 // (do not rely on this header being included since users can short-circuit this header \r
16 //  if they know whose std lib they are using.)\r
17 #include <cstddef>\r
18 \r
19 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)\r
20 // STLPort library; this _must_ come first, otherwise since\r
21 // STLport typically sits on top of some other library, we\r
22 // can end up detecting that first rather than STLport:\r
23 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"\r
24 \r
25 #else\r
26 \r
27 // If our std lib was not some version of STLport, then include <utility> as it is about \r
28 // the smallest of the std lib headers that includes real C++ stuff.  (Some std libs do not\r
29 // include their C++-related macros in <cstddef> so this additional include makes sure\r
30 // we get those definitions)\r
31 // (again do not rely on this header being included since users can short-circuit this \r
32 //  header if they know whose std lib they are using.)\r
33 #include <boost/config/no_tr1/utility.hpp>\r
34 \r
35 #if defined(__LIBCOMO__)\r
36 // Comeau STL:\r
37 #define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"\r
38 \r
39 #elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)\r
40 // Rogue Wave library:\r
41 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"\r
42 \r
43 #elif defined(__GLIBCPP__) || defined(__GLIBCXX__)\r
44 // GNU libstdc++ 3\r
45 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"\r
46 \r
47 #elif defined(__STL_CONFIG_H)\r
48 // generic SGI STL\r
49 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"\r
50 \r
51 #elif defined(__MSL_CPP__)\r
52 // MSL standard lib:\r
53 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"\r
54 \r
55 #elif defined(__IBMCPP__)\r
56 // take the default VACPP std lib\r
57 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"\r
58 \r
59 #elif defined(MSIPL_COMPILE_H)\r
60 // Modena C++ standard library\r
61 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"\r
62 \r
63 #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)\r
64 // Dinkumware Library (this has to appear after any possible replacement libraries):\r
65 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"\r
66 \r
67 #elif defined (BOOST_ASSERT_CONFIG)\r
68 // this must come last - generate an error if we don't\r
69 // recognise the library:\r
70 #  error "Unknown standard library - please configure and report the results to boost.org"\r
71 \r
72 #endif\r
73 \r
74 #endif\r
75 \r
76 \r
77 \r