aboutsummaryrefslogtreecommitdiff
path: root/.builds/musl-riscv64.diff
blob: ec72afa8a3b089647e86f85e17a7244ed2841813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- bits/signal.h.orig
+++ bits/signal.h
@@ -19,7 +19,12 @@
 };
 
 struct __riscv_mc_q_ext_state {
-	unsigned long long __f[64] __attribute__((aligned(16)));
+#if __STDC_VERSION__ >= 201112L
+	_Alignas(16)
+#else
+	__attribute__((__aligned__(16)))
+#endif
+	unsigned long long __f[64];
 	unsigned int __fcsr;
 	unsigned int __reserved[3];
 };