riscv mcontext_t/sigcontext: use __aligned__ instead of aligned

aligned may be defined by the application for its own use before
bits/signal.h is included.
This commit is contained in:
Michael Forney authored and Rich Felker committed 2024-05-06 10:59:12 -04:00
1 parent cbf1c7b605
commit a23cf8f9c5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
};
struct __riscv_mc_q_ext_state {
unsigned long long __f[64] __attribute__((aligned(16)));
unsigned long long __f[64] __attribute__((__aligned__(16)));
unsigned int __fcsr;
unsigned int __reserved[3];
};
+1 -1
View File
@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
};
struct __riscv_mc_q_ext_state {
unsigned long long __f[64] __attribute__((aligned(16)));
unsigned long long __f[64] __attribute__((__aligned__(16)));
unsigned int __fcsr;
unsigned int __reserved[3];
};