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 (#1724)
Summary: 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] #1470 [3] facebook/flipper#834 Pull Request resolved: #1724 Reviewed By: Gownta Differential Revision: D38406371 Pulled By: Orvid fbshipit-source-id: c5e37d3cd7d8764049953ffba6c6a449217c8cb1
- Loading branch information