From 179570d4cae9aefcd91d540b8865a81d569b3358 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 27 May 2019 13:08:07 -0400 Subject: [PATCH] [atomic] Fix warning, second time Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1554306 --- src/hb-atomic.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-atomic.hh b/src/hb-atomic.hh index e58ec75..45413d5 100644 --- a/src/hb-atomic.hh +++ b/src/hb-atomic.hh @@ -227,7 +227,7 @@ static_assert ((sizeof (long) == sizeof (void *)), ""); #define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V)) -#define _hb_memory_barrier() +#define _hb_memory_barrier() do {} while (0) #define hb_atomic_ptr_impl_cmpexch(P,O,N) (* (void **) (P) == (void *) (O) ? (* (void **) (P) = (void *) (N), true) : false) -- 2.7.4