opnsense-ports/devel/boost-libs/files/patch-boost_fiber_detail_cpu__relax.hpp
Franco Fichtner e00a2e0f3f devel/boost-libs: sync with upstream
Taken from: FreeBSD
2024-02-22 15:04:28 +01:00

11 lines
468 B
C++

--- boost/fiber/detail/cpu_relax.hpp.orig 2024-02-21 21:22:18 UTC
+++ boost/fiber/detail/cpu_relax.hpp
@@ -59,7 +59,7 @@ namespace detail {
// processors
// extended mnemonics (available with POWER7)
// yield == or 27, 27, 27
-# if defined(__POWERPC__) // Darwin PPC
+# if defined(__APPLE__) // Darwin PPC
# define cpu_relax() asm volatile ("or r27,r27,r27" ::: "memory");
# else
# define cpu_relax() asm volatile ("or 27,27,27" ::: "memory");