pull/1/merge
Behdad Esfahbod 12 years ago
parent 596740db04
commit 11d2956553
  1. 2
      src/hb-atomic-private.hh

@ -59,7 +59,7 @@ static inline void HBMemoryBarrier (void) {
}
#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_ptr_get(P) (HBMemoryBarrier (), (void *) *(P))

Loading…
Cancel
Save