Merge pull request #1555 from vivqu/support_ios7

Update ASSentinel to use OSAtomicAdd32 to support iOS7.0
This commit is contained in:
appleguy
2016-04-19 12:01:02 -07:00

View File

@@ -22,7 +22,7 @@
- (int32_t)increment
{
return OSAtomicIncrement32(&_value);
return OSAtomicAdd32(1, &_value);
}
@end