Fix hb_atomic_int_set() implementation for HB_NO_MT

As pointed out by Jonathan Kew.
pull/1/head
Behdad Esfahbod 13 years ago
parent 3b9b7133be
commit cde1c0114b
  1. 2
      src/hb-atomic-private.hh

@ -79,7 +79,7 @@ typedef volatile int hb_atomic_int_t;
#define HB_ATOMIC_INT_NIL 1
typedef volatile int hb_atomic_int_t;
#define hb_atomic_int_add(AI, V) ((AI) += (V), (AI) - (V))
#define hb_atomic_int_set(AI) ((void) ((AI) = (V)))
#define hb_atomic_int_set(AI, V) ((void) ((AI) = (V)))
#define hb_atomic_int_get(AI) (AI)
#endif

Loading…
Cancel
Save