2010-05-22 20:20:04 +00:00
|
|
|
/*
|
2011-11-30 05:54:23 +00:00
|
|
|
Copyright Redshift Software, Inc. 2008-2011
|
2010-05-22 20:20:04 +00:00
|
|
|
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_IBM_H
|
|
|
|
#define BOOST_PREDEF_COMPILER_IBM_H
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#include <boost/predef/version_number.h>
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/make.h>
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2011-11-30 05:54:23 +00:00
|
|
|
/*`
|
|
|
|
[heading `BOOST_CXX_IBM`]
|
|
|
|
|
|
|
|
[@http://en.wikipedia.org/wiki/XXX Iternational Business Mchines] compiler.
|
|
|
|
Version number available as major, minor, and patch.
|
|
|
|
*/
|
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
|
|
|
|
|
|
|
|
#if defined(__IBMCPP__) || defined(__xlC__)
|
|
|
|
#undef BOOST_CXX_IBM
|
|
|
|
#if defined(__COMPILER_VER__)
|
2011-11-19 03:46:41 +00:00
|
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_F_FF_FFFF(__COMPILER_VER__)
|
2008-04-04 18:47:29 +00:00
|
|
|
#elif defined(__xlC__)
|
2011-11-19 03:46:41 +00:00
|
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_FF_FF(__xlC__)
|
2008-04-04 18:47:29 +00:00
|
|
|
#else
|
2011-11-19 03:46:41 +00:00
|
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_N_N_N(__IBMCPP__)
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/detail/test.h>
|
|
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM")
|
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|