From: Nicolas Caramelli Date: Fri, 29 Apr 2022 16:16:36 +0000 (+0200) Subject: meson: fix when HAVE_CLOCK_GETTIME is set X-Git-Tag: v2.38.1~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781617b5c6243acb46ce07a77ee53b5d01a7a2eb;p=thirdparty%2Futil-linux.git meson: fix when HAVE_CLOCK_GETTIME is set Signed-off-by: Nicolas Caramelli --- diff --git a/meson.build b/meson.build index 0b65e8647c..889936d240 100644 --- a/meson.build +++ b/meson.build @@ -598,7 +598,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')