annotate DEPENDENCIES/generic/include/boost/predef/architecture/mips.h @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 Copyright Rene Rivera 2008-2013
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_ARCHITECTURE_MIPS_H
Chris@16 9 #define BOOST_PREDEF_ARCHITECTURE_MIPS_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 /*`
Chris@16 15 [heading `BOOST_ARCH_MIPS`]
Chris@16 16
Chris@16 17 [@http://en.wikipedia.org/wiki/MIPS_architecture MIPS] architecture.
Chris@16 18
Chris@16 19 [table
Chris@16 20 [[__predef_symbol__] [__predef_version__]]
Chris@16 21
Chris@16 22 [[`__mips__`] [__predef_detection__]]
Chris@16 23 [[`__mips`] [__predef_detection__]]
Chris@16 24 [[`__MIPS__`] [__predef_detection__]]
Chris@16 25
Chris@16 26 [[`__mips`] [V.0.0]]
Chris@16 27 [[`_MIPS_ISA_MIPS1`] [1.0.0]]
Chris@16 28 [[`_R3000`] [1.0.0]]
Chris@16 29 [[`_MIPS_ISA_MIPS2`] [2.0.0]]
Chris@16 30 [[`__MIPS_ISA2__`] [2.0.0]]
Chris@16 31 [[`_R4000`] [2.0.0]]
Chris@16 32 [[`_MIPS_ISA_MIPS3`] [3.0.0]]
Chris@16 33 [[`__MIPS_ISA3__`] [3.0.0]]
Chris@16 34 [[`_MIPS_ISA_MIPS4`] [4.0.0]]
Chris@16 35 [[`__MIPS_ISA4__`] [4.0.0]]
Chris@16 36 ]
Chris@16 37 */
Chris@16 38
Chris@16 39 #define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 40
Chris@16 41 #if defined(__mips__) || defined(__mips) || \
Chris@16 42 defined(__MIPS__)
Chris@16 43 # undef BOOST_ARCH_MIPS
Chris@16 44 # if !defined(BOOST_ARCH_MIPS) && (defined(__mips))
Chris@16 45 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER(__mips,0,0)
Chris@16 46 # endif
Chris@16 47 # if !defined(BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS1) || defined(_R3000))
Chris@16 48 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER(1,0,0)
Chris@16 49 # endif
Chris@16 50 # if !defined(BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS2) || defined(__MIPS_ISA2__) || defined(_R4000))
Chris@16 51 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER(2,0,0)
Chris@16 52 # endif
Chris@16 53 # if !defined(BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS3) || defined(__MIPS_ISA3__))
Chris@16 54 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER(3,0,0)
Chris@16 55 # endif
Chris@16 56 # if !defined(BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS4) || defined(__MIPS_ISA4__))
Chris@16 57 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER(4,0,0)
Chris@16 58 # endif
Chris@16 59 # if !defined(BOOST_ARCH_MIPS)
Chris@16 60 # define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 61 # endif
Chris@16 62 #endif
Chris@16 63
Chris@16 64 #if BOOST_ARCH_MIPS
Chris@16 65 # define BOOST_ARCH_MIPS_AVAILABLE
Chris@16 66 #endif
Chris@16 67
Chris@16 68 #define BOOST_ARCH_MIPS_NAME "MIPS"
Chris@16 69
Chris@16 70 #include <boost/predef/detail/test.h>
Chris@16 71 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_MIPS,BOOST_ARCH_MIPS_NAME)
Chris@16 72
Chris@16 73
Chris@16 74 #endif