mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Avoid double definition of catomic_compare_and_exchange_val_acq.
This commit is contained in:
parent
6dd78596d5
commit
3b1b533bc3
@ -1,3 +1,9 @@
|
||||
2009-05-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* include/atomic.h: Formatting.
|
||||
(catomic_compare_and_exchange_val_acq): Don't define if already
|
||||
defined by bits/atomic.h.
|
||||
|
||||
2009-05-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64):
|
||||
|
@ -95,8 +95,8 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined catomic_compare_and_exchange_val_acq \
|
||||
&& defined __arch_c_compare_and_exchange_val_32_acq
|
||||
#ifndef catomic_compare_and_exchange_val_acq
|
||||
# ifdef __arch_c_compare_and_exchange_val_32_acq
|
||||
# define catomic_compare_and_exchange_val_acq(mem, newval, oldval) \
|
||||
__atomic_val_bysize (__arch_c_compare_and_exchange_val,acq, \
|
||||
mem, newval, oldval)
|
||||
@ -104,6 +104,7 @@
|
||||
# define catomic_compare_and_exchange_val_acq(mem, newval, oldval) \
|
||||
atomic_compare_and_exchange_val_acq (mem, newval, oldval)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef atomic_compare_and_exchange_val_rel
|
||||
|
Loading…
Reference in New Issue
Block a user