12345678910111213 |
- diff --git a/src/dawn/common/Platform.h b/src/dawn/common/Platform.h
- index 8e81b489b..a20bcbc17 100644
- --- a/src/dawn/common/Platform.h
- +++ b/src/dawn/common/Platform.h
- @@ -68,7 +68,7 @@
- #endif
-
- #if defined(_WIN64) || defined(__aarch64__) || defined(__x86_64__) || defined(__mips64__) || \
- - defined(__s390x__) || defined(__PPC64__)
- + defined(__s390x__) || defined(__PPC64__) || (defined(__riscv) && __riscv_xlen == 64)
- #define DAWN_PLATFORM_64_BIT 1
- static_assert(sizeof(sizeof(char)) == 8, "Expect sizeof(size_t) == 8");
- #elif defined(_WIN32) || defined(__arm__) || defined(__i386__) || defined(__mips32__) || \
|