Skip to content

Commit

Permalink
Fix macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred2g committed Feb 26, 2024
1 parent 207158b commit 2cbddb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/aws/common/atomics_msvc.inl
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ typedef long long aws_atomic_impl_int_t;
#ifdef _M_ARM64
# define RW_BARRIER() __dmb(_ARM64_BARRIER_SY)
# define R_BARRIER() __dmb(_ARM64_BARRIER_LD)
# define w_BARRIER() __dmb(_ARM64_BARRIER_ST)
# define W_BARRIER() __dmb(_ARM64_BARRIER_ST)
# define SW_BARRIER() _ReadWriteBarrier();
#else
# define RW_BARRIER() do{ }while (0)
# define R_BARRIER() do{ }while (0)
# define w_BARRIER() do{ }while (0)
# define RW_BARRIER()
# define R_BARRIER()
# define W_BARRIER()
# define SW_BARRIER() _ReadWriteBarrier();
#endif

Expand Down

0 comments on commit 2cbddb7

Please sign in to comment.