From e51565b653cf09985df57cb7254b16d5af5df223 Mon Sep 17 00:00:00 2001 From: Nicolas Caramelli Date: Fri, 29 Apr 2022 18:16:36 +0200 Subject: [PATCH] meson: fix when HAVE_CLOCK_GETTIME is set Signed-off-by: Nicolas Caramelli --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2f6a7a47a9..df5ecb76f6 100644 --- a/meson.build +++ b/meson.build @@ -599,7 +599,7 @@ if not have have = cc.has_function('clock_gettime', dependencies : realtime_libs) endif -conf.set('HAVE_CLOCK_GETTIME', have_dirfd ? 1 : false) +conf.set('HAVE_CLOCK_GETTIME', have ? 1 : false) thread_libs = dependency('threads') -- 2.47.3