forked from boostorg/predef
git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@62156 b8fc166d-592f-0410-95f2-cb63ce0dd405
28 lines
769 B
C
28 lines
769 B
C
/*
|
|
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)
|
|
*/
|
|
|
|
#ifndef BOOST_PREDEF_COMPILER_IBM_H
|
|
#define BOOST_PREDEF_COMPILER_IBM_H
|
|
|
|
#include <boost/predef/version_number.h>
|
|
#include <boost/predef/detail/vrp.h>
|
|
|
|
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
|
|
|
|
#if defined(__IBMCPP__) || defined(__xlC__)
|
|
#undef BOOST_CXX_IBM
|
|
#if defined(__COMPILER_VER__)
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_F_FF_FFFF(__COMPILER_VER__)
|
|
#elif defined(__xlC__)
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_FF_FF(__xlC__)
|
|
#else
|
|
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_N_N_N(__IBMCPP__)
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|