---
configure | 4 +---
libavutil/timer.h | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 3f1a2a8156..f30820e7d0 100755
--- a/configure
+++ b/configure
@@ -1551,7 +1551,6 @@ HEADERS_LIST="
dxgidebug_h
dxva_h
io_h
- mach_mach_time_h
machine_ioctl_bt848_h
machine_ioctl_meteor_h
malloc_h
@@ -4545,7 +4544,6 @@ check_func gettimeofday
check_func gmtime_r
check_func isatty
check_func localtime_r
-check_func mach_absolute_time
check_func mkstemp
check_func mmap
check_func mprotect
@@ -4559,6 +4557,7 @@ check_func sysctl
check_func usleep
check_func_headers io.h setmode
+check_func_headers mach/mach_time.h mach_absolute_time
check_func_headers stdlib.h getenv
check_func_headers windows.h GetProcessAffinityMask
@@ -4576,7 +4575,6 @@ check_header dxgidebug.h
check_header dxva.h
check_header dxva2api.h
check_header io.h
-check_header mach/mach_time.h
check_header malloc.h
check_header poll.h
check_header sys/param.h
diff --git a/libavutil/timer.h b/libavutil/timer.h
index cc4c5a5901..8468159d92 100644
--- a/libavutil/timer.h
+++ b/libavutil/timer.h
@@ -32,7 +32,7 @@
#include "config.h"
-#if HAVE_MACH_MACH_TIME_H
+#if HAVE_MACH_ABSOLUTE_TIME
#include <mach/mach_time.h>
#endif
--
2.11.0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel