2010-05-22 20:20:04 +00:00
|
|
|
/*
|
|
|
|
Copyright Redshift Software, Inc. 2008-2010
|
|
|
|
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)
|
|
|
|
*/
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#ifndef BOOST_PREDEF_COMPILER_GCC_H
|
|
|
|
#define BOOST_PREDEF_COMPILER_GCC_H
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#include <boost/predef/version_number.h>
|
|
|
|
#include <boost/predef/detail/vrp.h>
|
2008-04-04 18:47:29 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#endif
|