* fixes issue to improve the library maturity
* Update the cmake minimum support to 3.16
* lot more https://github.com/OpenAMP/libmetal/releases
- added patches
dcf121ab61
+ libmetal-gcc15.patch
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/libmetal?expand=0&rev=7
15 lines
393 B
Diff
15 lines
393 B
Diff
diff --git a/lib/atomic.h b/lib/atomic.h
|
|
index d49f1337..7f38a08c 100644
|
|
--- a/lib/atomic.h
|
|
+++ b/lib/atomic.h
|
|
@@ -114,4 +114,8 @@ using std::atomic_signal_fence;
|
|
#endif /* defined(HAVE_PROCESSOR_ATOMIC_H) */
|
|
#endif
|
|
|
|
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L && !defined(ATOMIC_VAR_INIT)
|
|
+# define ATOMIC_VAR_INIT(VAL) (VAL)
|
|
+#endif
|
|
+
|
|
#endif /* __METAL_ATOMIC__H__ */
|
|
|