forked from Lainports/freebsd-ports
audio/sfizz: fix build on powerpc / riscv64
This commit is contained in:
parent
1765e4b4fa
commit
edf835ae23
1 changed files with 9 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
--- external/atomic_queue/include/atomic_queue/defs.h.orig 2024-12-22 21:57:08 UTC
|
--- external/atomic_queue/include/atomic_queue/defs.h.orig 2024-01-14 20:23:08 UTC
|
||||||
+++ external/atomic_queue/include/atomic_queue/defs.h
|
+++ external/atomic_queue/include/atomic_queue/defs.h
|
||||||
@@ -36,6 +36,13 @@ static inline void spin_loop_pause() noexcept {
|
@@ -36,6 +36,16 @@ static inline void spin_loop_pause() noexcept {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} // namespace atomic_queue
|
} // namespace atomic_queue
|
||||||
|
|
@ -12,5 +12,11 @@
|
||||||
+}
|
+}
|
||||||
+} // namespace atomic_queue
|
+} // namespace atomic_queue
|
||||||
#else
|
#else
|
||||||
#error "Unknown CPU architecture."
|
-#error "Unknown CPU architecture."
|
||||||
|
+namespace atomic_queue {
|
||||||
|
+constexpr int CACHE_LINE_SIZE = 64;
|
||||||
|
+static inline void spin_loop_pause() noexcept {}
|
||||||
|
+} // namespace atomic_queue
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue