diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-08 09:24:02 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-08 09:24:02 -0500 |
commit | 021fdd39e4ebbe8ddee9b10823af76fbb11e7878 (patch) | |
tree | 993dd4ef79f5d5deb3dd48777ea7b50f18843a6e /configure.ac | |
parent | afceb431ed3a1c4daf303e5245a05f800d596fa6 (diff) | |
download | tor-021fdd39e4ebbe8ddee9b10823af76fbb11e7878.tar.gz tor-021fdd39e4ebbe8ddee9b10823af76fbb11e7878.zip |
Use mach_approximate_time() for coarse time where available.
This lets us have a coarse-time implementation with reasonable
performance characteristics on OSX and iOS.
Implements 24427.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0b3e1dda26..84ae9090b8 100644 --- a/configure.ac +++ b/configure.ac @@ -506,6 +506,7 @@ AC_CHECK_FUNCS( llround \ localtime_r \ lround \ + mach_approximate_time \ memmem \ memset_s \ pipe \ |