OSDN Git Service

Add boost SVN version Number 12762
[tortoisegit/TortoiseGitJp.git] / ext / boost / boost / config / select_compiler_config.hpp
1 //  Boost compiler configuration selection header file\r
2 \r
3 //  (C) Copyright John Maddock 2001 - 2003. \r
4 //  (C) Copyright Martin Wille 2003.\r
5 //  (C) Copyright Guillaume Melquiond 2003. \r
6 //  Use, modification and distribution are subject to the \r
7 //  Boost Software License, Version 1.0. (See accompanying file \r
8 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r
9 \r
10 //  See http://www.boost.org for most recent version.\r
11 \r
12 // locate which compiler we are using and define\r
13 // BOOST_COMPILER_CONFIG as needed: \r
14 \r
15 #if defined(__GCCXML__)\r
16 // GCC-XML emulates other compilers, it has to appear first here!\r
17 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"\r
18 \r
19 #elif defined __COMO__\r
20 //  Comeau C++\r
21 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"\r
22 \r
23 #elif defined __DMC__\r
24 //  Digital Mars C++\r
25 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"\r
26 \r
27 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)\r
28 //  Intel\r
29 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"\r
30 \r
31 # elif defined __GNUC__\r
32 //  GNU C++:\r
33 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"\r
34 \r
35 #elif defined __KCC\r
36 //  Kai C++\r
37 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"\r
38 \r
39 #elif defined __sgi\r
40 //  SGI MIPSpro C++\r
41 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"\r
42 \r
43 #elif defined __DECCXX\r
44 //  Compaq Tru64 Unix cxx\r
45 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"\r
46 \r
47 #elif defined __ghs\r
48 //  Greenhills C++\r
49 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"\r
50 \r
51 #elif defined __BORLANDC__\r
52 //  Borland\r
53 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"\r
54 \r
55 #elif defined  __MWERKS__\r
56 //  Metrowerks CodeWarrior\r
57 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"\r
58 \r
59 #elif defined  __SUNPRO_CC\r
60 //  Sun Workshop Compiler C++\r
61 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"\r
62 \r
63 #elif defined __HP_aCC\r
64 //  HP aCC\r
65 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"\r
66 \r
67 #elif defined(__MRC__) || defined(__SC__)\r
68 //  MPW MrCpp or SCpp\r
69 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"\r
70 \r
71 #elif defined(__IBMCPP__)\r
72 //  IBM Visual Age\r
73 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"\r
74 \r
75 #elif defined _MSC_VER\r
76 //  Microsoft Visual C++\r
77 //\r
78 //  Must remain the last #elif since some other vendors (Metrowerks, for\r
79 //  example) also #define _MSC_VER\r
80 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"\r
81 \r
82 #elif defined (BOOST_ASSERT_CONFIG)\r
83 // this must come last - generate an error if we don't\r
84 // recognise the compiler:\r
85 #  error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)"\r
86 \r
87 #endif\r