提交 63c74e8d 编写于 作者: B Behdad Esfahbod

[atomic] Fix fallback impl

上级 4bc16aca
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册