abis/linux: fix struct stat on aarch64
This is not an ABI break as this struct is not used by anyone yet.
extern "C" {
#endif
-#if defined(__x86_64__) || defined(__aarch64__)
+#if defined(__x86_64__)
-// TODO: Is this correct for AArch64?
struct stat {
dev_t st_dev;
ino_t st_ino;
@@ -63,7 +62,7 @@ struct stat {
long __unused[3];
};
-#elif defined(__riscv) && __riscv_xlen == 64
+#elif (defined(__riscv) && __riscv_xlen == 64) || defined (__aarch64__)
struct stat {
dev_t st_dev;
