Files
boost_predef/include/boost/predef/compiler/iar.h
T

46 lines
995 B
C
Raw Normal View History

/*
2013-01-10 23:23:37 -06:00
Copyright Redshift Software, Inc. 2008-2013
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
#ifndef BOOST_PREDEF_COMPILER_IAR_H
#define BOOST_PREDEF_COMPILER_IAR_H
2008-04-04 18:47:29 +00:00
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
2008-04-04 18:47:29 +00:00
/*`
[heading `BOOST_COMP_IAR`]
IAR C/C++ compiler.
Version number available as major, minor, and patch.
[table
[[__predef_symbol__] [__predef_version__]]
2013-01-10 23:23:37 -06:00
[[`__IAR_SYSTEMS_ICC__`] [__predef_detection__]]
2013-01-10 23:23:37 -06:00
[[`__VER__`] [V.R.P]]
]
*/
#define BOOST_COMP_IAR BOOST_VERSION_NUMBER_NOT_AVAILABLE
2008-04-04 18:47:29 +00:00
#if defined(__IAR_SYSTEMS_ICC__)
# undef BOOST_COMP_IAR
# define BOOST_COMP_IAR BOOST_PREDEF_MAKE_10_VVRR(__VER__)
2008-04-04 18:47:29 +00:00
#endif
#if BOOST_COMP_IAR
# define BOOST_COMP_IAR_AVAILABLE
#endif
#define BOOST_COMP_IAR_NAME "IAR C/C++"
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IAR,BOOST_COMP_IAR_NAME)
2008-04-04 18:47:29 +00:00
#endif