From e6dcebcff90ee9dc85dbab249b10305e97de035e Mon Sep 17 00:00:00 2001 From: Martin Wille Date: Fri, 13 Jun 2003 13:05:58 +0000 Subject: [PATCH] -- 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] --- include/boost/config/select_compiler_config.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/config/select_compiler_config.hpp b/include/boost/config/select_compiler_config.hpp index 66cbad9d..c4471ebd 100644 --- a/include/boost/config/select_compiler_config.hpp +++ b/include/boost/config/select_compiler_config.hpp @@ -10,14 +10,14 @@ // locate which compiler we are using and define // BOOST_COMPILER_CONFIG as needed: -#if defined __GNUC__ -// GNU C++: -# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp" - -# elif defined __COMO__ +# if defined __COMO__ // Comeau C++ # 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 // Kai C++ # define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"