diff 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
line wrap: on
line diff
--- a/config.h	Thu Aug 24 12:34:41 2017 -0400
+++ b/config.h	Mon Jan 21 21:18:50 2019 -0500
@@ -124,6 +124,20 @@
 #define CONFIG_CPU "__ppc64__"
 #elif defined(__ARM__)
 #define CONFIG_CPU "__ARM__"
+#elif defined(__AARCH64__)
+#define CONFIG_CPU "__AARCH64__"
+#elif defined(__aarch64__)
+#define CONFIG_CPU "__aarch64__"
+#elif defined(__RISCV__)
+#define CONFIG_CPU "__RISCV__"
+#elif defined(__riscv__)
+#define CONFIG_CPU "__riscv__"
+#elif defined(__RISCV64__)
+#define CONFIG_CPU "__RISCV64__"
+#elif defined(__riscv64__)
+#define CONFIG_CPU "__riscv64__"
+#elif defined(__riscv64)
+#define CONFIG_CPU "__riscv64"
 #elif defined(__ia64__)
 #define CONFIG_CPU "__ia64__"
 #else