提交 11d29565 编写于 作者: B Behdad Esfahbod

Minor

上级 596740db
...@@ -59,7 +59,7 @@ static inline void HBMemoryBarrier (void) { ...@@ -59,7 +59,7 @@ static inline void HBMemoryBarrier (void) {
} }
#endif #endif
typedef long hb_atomic_int_t; typedef LONG hb_atomic_int_t;
#define hb_atomic_int_add(AI, V) InterlockedExchangeAdd (&(AI), (V)) #define hb_atomic_int_add(AI, V) InterlockedExchangeAdd (&(AI), (V))
#define hb_atomic_ptr_get(P) (HBMemoryBarrier (), (void *) *(P)) #define hb_atomic_ptr_get(P) (HBMemoryBarrier (), (void *) *(P))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册