We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e70dc0 commit 3660086Copy full SHA for 3660086
src/external/cpuid/platform/src/platform/config.hpp
@@ -55,6 +55,10 @@
55
#define PLATFORM_MIPS 1
56
#define PLATFORM_CLANG_MIPS 1
57
#define PLATFORM_GCC_COMPATIBLE_MIPS 1
58
+#elif defined(__riscv)
59
+#define PLATFORM_RISCV 1
60
+#define PLATFORM_CLANG_RISCV 1
61
+#define PLATFORM_GCC_COMPATIBLE_RISCV 1
62
#elif defined(__asmjs__)
63
#define PLATFORM_ASMJS 1
64
#define PLATFORM_CLANG_ASMJS 1
@@ -75,6 +79,10 @@
75
79
76
80
#define PLATFORM_GCC_MIPS 1
77
81
82
83
84
+#define PLATFORM_GCC_RISCV 1
85
78
86
#endif
87
#elif defined(_MSC_VER)
88
#define PLATFORM_MSVC 1
0 commit comments