diff options
-rw-r--r-- | src/pulsecore/atomic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/atomic.h b/src/pulsecore/atomic.h index 6e33c993..6fb85f09 100644 --- a/src/pulsecore/atomic.h +++ b/src/pulsecore/atomic.h @@ -109,6 +109,8 @@ static inline int pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* n #elif defined(__GNUC__) && (defined(__amd64__) || defined(__x86_64__)) +#error "The native atomic operations implementation for AMD64 has not been tested. libatomic_ops is known to not work properly on AMD64 and your gcc version is too old for the gcc-builtin atomic ops support. You have three options now: make the native atomic operations implementation for AMD64 work, fix libatomic_ops, or upgrade your GCC." + /* Addapted from glibc */ typedef struct pa_atomic { |