remove use of mach_absolute_time (#15554)
`mach_absolute_time` is one of Apple's required reason APIs (https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time?language=objc). Replace it with the suggested `clock_gettime_nsec_np(CLOCK_UPTIME_RAW)` so that we don't need a RRA entry in a privacy manifest.
issue #15029
Closes #15554
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15554 from protocolbuffers:dmaclach-mach_absolute_time 295d83178d
PiperOrigin-RevId: 601370915
pull/15802/head
parent
971fbf639b
commit
76d05d4cb9
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue