projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc16ac
)
[atomic] Fix fallback impl
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 1 Aug 2018 05:21:21 +0000
(22:21 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 1 Aug 2018 05:21:21 +0000
(22:21 -0700)
src/hb-atomic-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-atomic-private.hh
b/src/hb-atomic-private.hh
index
bad409b
..
2e73cd8
100644
(file)
--- a/
src/hb-atomic-private.hh
+++ b/
src/hb-atomic-private.hh
@@
-205,10
+205,10
@@
typedef int hb_atomic_int_impl_t;
#define HB_ATOMIC_INT_INIT(V) {V}
#endif
#ifndef hb_atomic_int_impl_set_relaxed
-#define hb_atomic_int_impl_set_relaxed(AI, V) ((AI) = (V))
+#define hb_atomic_int_impl_set_relaxed(AI, V) (
*
(AI) = (V))
#endif
#ifndef hb_atomic_int_impl_get_relaxed
-#define hb_atomic_int_impl_get_relaxed(AI) (
AI
)
+#define hb_atomic_int_impl_get_relaxed(AI) (
*(AI)
)
#endif