/* Copyright Redshift Software, Inc. 2008-2011 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_COMPILER_GCC_H #define BOOST_PREDEF_COMPILER_GCC_H #include #include /*` [heading `BOOST_CXX_GNUC`] [@http://en.wikipedia.org/wiki/GNU_Compiler_Collection Gnu GCC C/C++] compiler. Version number available as major, minor, and patch (if available). */ #define BOOST_CXX_GNUC BOOST_VERSION_NUMBER(0,0,0) #if defined(__GNUC__) #undef BOOST_CXX_GNUC #if defined(__GNUC_PATCHLEVEL__) #define BOOST_CXX_GNUC \ BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__) #else #define BOOST_CXX_GNUC \ BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0) #endif #endif #include BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu GCC C/C++") #endif