forked from boostorg/config
-- changed the order in which it is checked for Comeau C++ and GCC
this is required to detect Comeau C++ with gcc backend correctly [SVN r18789]
This commit is contained in:
@@ -10,14 +10,14 @@
|
|||||||
// locate which compiler we are using and define
|
// locate which compiler we are using and define
|
||||||
// BOOST_COMPILER_CONFIG as needed:
|
// BOOST_COMPILER_CONFIG as needed:
|
||||||
|
|
||||||
#if defined __GNUC__
|
# if defined __COMO__
|
||||||
// GNU C++:
|
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
|
|
||||||
|
|
||||||
# elif defined __COMO__
|
|
||||||
// Comeau C++
|
// Comeau C++
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
|
||||||
|
|
||||||
|
# elif defined __GNUC__
|
||||||
|
// GNU C++:
|
||||||
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
|
||||||
|
|
||||||
#elif defined __KCC
|
#elif defined __KCC
|
||||||
// Kai C++
|
// Kai C++
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
|
||||||
|
Reference in New Issue
Block a user