github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/config/detail/select_compiler_config.hpp (about)

     1  //  Boost compiler configuration selection header file
     2  
     3  //  (C) Copyright John Maddock 2001 - 2003. 
     4  //  (C) Copyright Martin Wille 2003.
     5  //  (C) Copyright Guillaume Melquiond 2003.
     6  //
     7  //  Distributed under the Boost Software License, Version 1.0.
     8  //  (See accompanying file LICENSE_1_0.txt or copy at
     9  //   http://www.boost.org/LICENSE_1_0.txt)
    10  
    11  //  See http://www.boost.org/ for most recent version.
    12  
    13  // locate which compiler we are using and define
    14  // BOOST_COMPILER_CONFIG as needed: 
    15  
    16  #if defined __CUDACC__
    17  //  NVIDIA CUDA C++ compiler for GPU
    18  #   include "boost/config/compiler/nvcc.hpp"
    19  
    20  #endif
    21  
    22  #if defined(__GCCXML__)
    23  // GCC-XML emulates other compilers, it has to appear first here!
    24  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
    25  
    26  #elif defined(_CRAYC)
    27  // EDG based Cray compiler:
    28  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp"
    29  
    30  #elif defined __COMO__
    31  //  Comeau C++
    32  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
    33  
    34  #elif defined(__PATHSCALE__) && (__PATHCC__ >= 4)
    35  // PathScale EKOPath compiler (has to come before clang and gcc)
    36  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"
    37  
    38  #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
    39  //  Intel
    40  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
    41  
    42  #elif defined __clang__ && !defined(__ibmxl__) && !defined(__CODEGEARC__)
    43  //  Clang C++ emulates GCC, so it has to appear early.
    44  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
    45  
    46  #elif defined __DMC__
    47  //  Digital Mars C++
    48  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
    49  
    50  #elif defined __DCC__
    51  //  Wind River Diab C++
    52  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/diab.hpp"
    53  
    54  #elif defined(__PGI)
    55  //  Portland Group Inc.
    56  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp"
    57  
    58  # elif defined(__GNUC__) && !defined(__ibmxl__)
    59  //  GNU C++:
    60  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
    61  
    62  #elif defined __KCC
    63  //  Kai C++
    64  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
    65  
    66  #elif defined __sgi
    67  //  SGI MIPSpro C++
    68  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
    69  
    70  #elif defined __DECCXX
    71  //  Compaq Tru64 Unix cxx
    72  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
    73  
    74  #elif defined __ghs
    75  //  Greenhills C++
    76  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
    77  
    78  #elif defined __CODEGEARC__
    79  //  CodeGear - must be checked for before Borland
    80  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp"
    81  
    82  #elif defined __BORLANDC__
    83  //  Borland
    84  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
    85  
    86  #elif defined  __MWERKS__
    87  //  Metrowerks CodeWarrior
    88  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
    89  
    90  #elif defined  __SUNPRO_CC
    91  //  Sun Workshop Compiler C++
    92  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"
    93  
    94  #elif defined __HP_aCC
    95  //  HP aCC
    96  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"
    97  
    98  #elif defined(__MRC__) || defined(__SC__)
    99  //  MPW MrCpp or SCpp
   100  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"
   101  
   102  #elif defined(__IBMCPP__) && defined(__COMPILER_VER__) && defined(__MVS__)
   103  //  IBM z/OS XL C/C++
   104  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/xlcpp_zos.hpp"
   105  
   106  #elif defined(__ibmxl__)
   107  //  IBM XL C/C++ for Linux (Little Endian)
   108  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/xlcpp.hpp"
   109  
   110  #elif defined(__IBMCPP__)
   111  //  IBM Visual Age or IBM XL C/C++ for Linux (Big Endian)
   112  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
   113  
   114  #elif defined _MSC_VER
   115  //  Microsoft Visual C++
   116  //
   117  //  Must remain the last #elif since some other vendors (Metrowerks, for
   118  //  example) also #define _MSC_VER
   119  #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
   120  
   121  #elif defined (BOOST_ASSERT_CONFIG)
   122  // this must come last - generate an error if we don't
   123  // recognise the compiler:
   124  #  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)"
   125  
   126  #endif
   127  
   128  #if 0
   129  //
   130  // This section allows dependency scanners to find all the headers we *might* include:
   131  //
   132  #include <boost/config/compiler/gcc_xml.hpp>
   133  #include <boost/config/compiler/cray.hpp>
   134  #include <boost/config/compiler/comeau.hpp>
   135  #include <boost/config/compiler/pathscale.hpp>
   136  #include <boost/config/compiler/intel.hpp>
   137  #include <boost/config/compiler/clang.hpp>
   138  #include <boost/config/compiler/digitalmars.hpp>
   139  #include <boost/config/compiler/gcc.hpp>
   140  #include <boost/config/compiler/kai.hpp>
   141  #include <boost/config/compiler/sgi_mipspro.hpp>
   142  #include <boost/config/compiler/compaq_cxx.hpp>
   143  #include <boost/config/compiler/greenhills.hpp>
   144  #include <boost/config/compiler/codegear.hpp>
   145  #include <boost/config/compiler/borland.hpp>
   146  #include <boost/config/compiler/metrowerks.hpp>
   147  #include <boost/config/compiler/sunpro_cc.hpp>
   148  #include <boost/config/compiler/hp_acc.hpp>
   149  #include <boost/config/compiler/mpw.hpp>
   150  #include <boost/config/compiler/xlcpp_zos.hpp>
   151  #include <boost/config/compiler/xlcpp.hpp>
   152  #include <boost/config/compiler/vacpp.hpp>
   153  #include <boost/config/compiler/pgi.hpp>
   154  #include <boost/config/compiler/visualc.hpp>
   155  
   156  #endif
   157