mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 10:18:01 +02:00
Merge branch 'meson-monotonic-macos' into 'master'
Check for more symbols before defining HAVE_CLOCK_MONOTONIC in Meson Closes #419 See merge request dbus/dbus!352
This commit is contained in:
commit
fdad11b74e
1 changed files with 3 additions and 1 deletions
|
|
@ -328,7 +328,9 @@ data_config.set('top_builddir', meson.project_build_root())
|
|||
threads = dependency('threads')
|
||||
config.set(
|
||||
'HAVE_MONOTONIC_CLOCK',
|
||||
cc.has_header_symbol('pthread.h', 'CLOCK_MONOTONIC', args: compile_args_c),
|
||||
cc.has_header_symbol('pthread.h', 'CLOCK_MONOTONIC', args: compile_args_c)
|
||||
and cc.has_header_symbol('pthread.h', 'pthread_condattr_setclock', args: compile_args_c)
|
||||
and cc.has_header_symbol('time.h', 'clock_getres', args: compile_args_c),
|
||||
)
|
||||
|
||||
glib = dependency(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue