-- 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:
Martin Wille
2003-06-13 13:05:58 +00:00
parent ba3dc87248
commit e6dcebcff9

View File

@@ -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"