Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison config.h @ 205:dd0d2bfe4962
Recognize __aarch64__ and __riscv__.
__aarch64__ was sent in simultaneously by several people at once,
which was a little freaky, but whatever.
author | David A. Holland |
---|---|
date | Mon, 21 Jan 2019 21:18:50 -0500 |
parents | e200cb46ab23 |
children | f6f2c7a9d7d8 |
comparison
equal
deleted
inserted
replaced
204:bdc672634010 | 205:dd0d2bfe4962 |
---|---|
122 #define CONFIG_CPU "__PPC64__" | 122 #define CONFIG_CPU "__PPC64__" |
123 #elif defined(__ppc64__) | 123 #elif defined(__ppc64__) |
124 #define CONFIG_CPU "__ppc64__" | 124 #define CONFIG_CPU "__ppc64__" |
125 #elif defined(__ARM__) | 125 #elif defined(__ARM__) |
126 #define CONFIG_CPU "__ARM__" | 126 #define CONFIG_CPU "__ARM__" |
127 #elif defined(__AARCH64__) | |
128 #define CONFIG_CPU "__AARCH64__" | |
129 #elif defined(__aarch64__) | |
130 #define CONFIG_CPU "__aarch64__" | |
131 #elif defined(__RISCV__) | |
132 #define CONFIG_CPU "__RISCV__" | |
133 #elif defined(__riscv__) | |
134 #define CONFIG_CPU "__riscv__" | |
135 #elif defined(__RISCV64__) | |
136 #define CONFIG_CPU "__RISCV64__" | |
137 #elif defined(__riscv64__) | |
138 #define CONFIG_CPU "__riscv64__" | |
139 #elif defined(__riscv64) | |
140 #define CONFIG_CPU "__riscv64" | |
127 #elif defined(__ia64__) | 141 #elif defined(__ia64__) |
128 #define CONFIG_CPU "__ia64__" | 142 #define CONFIG_CPU "__ia64__" |
129 #else | 143 #else |
130 /* let it go */ | 144 /* let it go */ |
131 #endif | 145 #endif |