Skip to content

Commit

Permalink
xbox: Fix errors in stdatomic.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thrimbor authored and Ryzee119 committed Jul 20, 2022
1 parent 7a0b890 commit 5a3a4c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/xbox/include/stdatomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ typedef struct
#define atomic_exchange(object, desired) atomic_exchange_explicit(object, desired, memory_order_seq_cst)

// 7.17.7.4
#define atomic_compare_exchange_strong_explicit(object, expected, desired, success, failure) __c11_atomic_compare_exchange_strong_explicit(object, expected, desired, success, failure)
#define atomic_compare_exchange_strong_explicit(object, expected, desired, success, failure) __c11_atomic_compare_exchange_strong(object, expected, desired, success, failure)
#define atomic_compare_exchange_strong(object, expected, desired) atomic_compare_exchange_strong_explicit(object, expected, desired, memory_order_seq_cst, memory_order_seq_cst)
#define atomic_compare_exchange_weak_explicit(object, expected, desired, success, failure) __c11_atomic_compare_exchange_weak_explicit(object, expected, desired, success, failure)
#define atomic_compare_exchange_weak_explicit(object, expected, desired, success, failure) __c11_atomic_compare_exchange_weak(object, expected, desired, success, failure)
#define atomic_compare_exchange_weak(object, expected, desired) atomic_compare_exchange_weak_explicit(object, expected, desired, memory_order_seq_cst, memory_order_seq_cst)

// 7.17.7.5
Expand Down

0 comments on commit 5a3a4c6

Please sign in to comment.