Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix detection of clock_gettime availability
On Apple platforms, following the SDK development [1] guidelines, we can check for the availability (as in definition) of symbols using macros. This is more reliable notably when targeting iOS platforms or simulators where the previous approach used to create redefinition problems [2] & [3]. [1] https://developer.apple.com/forums/thread/67102 [2] facebook#1470 [3] facebook/flipper#834
- Loading branch information