mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-06 13:12:49 +00:00
Update ASSentinel to use OSAtomicAdd32 to support iOS7.0
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
- (int32_t)increment
|
||||
{
|
||||
return OSAtomicIncrement32(&_value);
|
||||
return OSAtomicAdd32(1, &_value);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user