commit | 179570d4cae9aefcd91d540b8865a81d569b3358 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Mon May 27 13:08:07 2019 -0400 |
committer | Behdad Esfahbod <[email protected]> | Mon May 27 13:08:07 2019 -0400 |
tree | 443537654fe9d87906be6799e66a029a0d19216d | |
parent | ad17a8bdd571c7b275f9735e3602a8068f12934f [diff] [blame] |
[atomic] Fix warning, second time Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1554306
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 @@ #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)