Fixup
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 8 Apr 2015 23:26:16 +0000 (16:26 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 8 Apr 2015 23:26:16 +0000 (16:26 -0700)
src/hb-atomic-private.hh

index b08e90c..e2249e9 100644 (file)
@@ -63,6 +63,7 @@ static inline void _HBMemoryBarrier (void) {
 }
 
 typedef LONG hb_atomic_int_impl_t;
+#define HB_ATOMIC_INT_IMPL_INIT(V) (V)
 #define hb_atomic_int_impl_add(AI, V)          InterlockedExchangeAdd (&(AI), (V))
 
 #define hb_atomic_ptr_impl_get(P)              (_HBMemoryBarrier (), (void *) *(P))