This commit is contained in:
Behdad Esfahbod 2013-01-02 17:41:27 -06:00
parent 596740db04
commit 11d2956553
1 changed files with 1 additions and 1 deletions

View File

@ -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))