Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-07-29 21:37:33 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2019-11-24 11:24:42 +0300
commita52459b3e5a924f9a79e9b76998dd9a87a52b79a (patch)
tree06c89c6231861440daf47c291eaa3d4f17cb6161 /tools
parentcf4b381ac772978b3179657475b9fdfb8b17c629 (diff)
checkasm: replace gettimeofday with clock_gettime
tests/checkasm/checkasm.c:55:5: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] gettimeofday(&tv, NULL); ^
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build13
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/meson.build b/tools/meson.build
index cd860a3..4b4217a 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -69,19 +69,6 @@ endif
# Configuratin data for cli_config.h
cli_cdata = configuration_data()
-rt_dependency = []
-if host_machine.system() != 'windows'
- if cc.has_function('clock_gettime', prefix : '#include <time.h>', args : test_args)
- cli_cdata.set('HAVE_CLOCK_GETTIME', 1)
- else
- rt_dependency = cc.find_library('rt', required: false)
- if not cc.has_function('clock_gettime', prefix : '#include <time.h>', args : test_args, dependencies : rt_dependency)
- error('clock_gettime not found')
- endif
- cli_cdata.set('HAVE_CLOCK_GETTIME', 1)
- endif
-endif
-
cli_config_h_target = configure_file(output: 'cli_config.h', configuration: cli_cdata)
# dav1d cli tool sources