File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_ARCHITECTURE_M68K_H
0009 #define BOOST_PREDEF_ARCHITECTURE_M68K_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 #define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_NOT_AVAILABLE
0048
0049 #if defined(__m68k__) || defined(M68000)
0050 # undef BOOST_ARCH_M68K
0051 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68060__) || defined(mc68060) || defined(__mc68060))
0052 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(6,0,0)
0053 # endif
0054 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68040__) || defined(mc68040) || defined(__mc68040))
0055 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(4,0,0)
0056 # endif
0057 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68030__) || defined(mc68030) || defined(__mc68030))
0058 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(3,0,0)
0059 # endif
0060 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68020__) || defined(mc68020) || defined(__mc68020))
0061 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(2,0,0)
0062 # endif
0063 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68010__) || defined(mc68010) || defined(__mc68010))
0064 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(1,0,0)
0065 # endif
0066 # if !defined(BOOST_ARCH_M68K) && (defined(__mc68000__) || defined(mc68000) || defined(__mc68000))
0067 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_AVAILABLE
0068 # endif
0069 # if !defined(BOOST_ARCH_M68K)
0070 # define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_AVAILABLE
0071 # endif
0072 #endif
0073
0074 #if BOOST_ARCH_M68K
0075 # define BOOST_ARCH_M68K_AVAILABLE
0076 #endif
0077
0078 #if BOOST_ARCH_M68K
0079 # undef BOOST_ARCH_WORD_BITS_32
0080 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0081 #endif
0082
0083 #define BOOST_ARCH_M68K_NAME "Motorola 68k"
0084
0085 #endif
0086
0087 #include <boost/predef/detail/test.h>
0088 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_M68K,BOOST_ARCH_M68K_NAME)