110-meson-fix-when-HAVE_CLOCK_GETTIME-is-set.patch 675 B

123456789101112131415161718192021
  1. From e51565b653cf09985df57cb7254b16d5af5df223 Mon Sep 17 00:00:00 2001
  2. From: Nicolas Caramelli <[email protected]>
  3. Date: Fri, 29 Apr 2022 18:16:36 +0200
  4. Subject: [PATCH] meson: fix when HAVE_CLOCK_GETTIME is set
  5. Signed-off-by: Nicolas Caramelli <[email protected]>
  6. ---
  7. meson.build | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/meson.build
  10. +++ b/meson.build
  11. @@ -602,7 +602,7 @@ if not have
  12. have = cc.has_function('clock_gettime',
  13. dependencies : realtime_libs)
  14. endif
  15. -conf.set('HAVE_CLOCK_GETTIME', have_dirfd ? 1 : false)
  16. +conf.set('HAVE_CLOCK_GETTIME', have ? 1 : false)
  17. thread_libs = dependency('threads')