25 lines
754 B
Diff
25 lines
754 B
Diff
*** meson.build 2024-08-25 13:25:34.223915502 -0500
|
|
--- meson.build.new 2024-08-25 13:30:22.078549158 -0500
|
|
*************** else
|
|
*** 114,132 ****
|
|
compat_sources += 'compat/strndup.c'
|
|
endif
|
|
|
|
- if cc.has_function('clock_gettime', prefix: '#include <time.h>',
|
|
- dependencies: dep_thread)
|
|
- conf_data.set('HAVE_CLOCK_GETTIME', 1)
|
|
- else
|
|
- dep_rt = cc.find_library('rt', required: false)
|
|
- if cc.has_function('clock_gettime', prefix: '#include <time.h>',
|
|
- dependencies: [dep_rt, dep_thread])
|
|
- conf_data.set('HAVE_CLOCK_GETTIME', 1)
|
|
- else
|
|
- compat_sources += 'compat/clock_gettime.c'
|
|
- endif
|
|
- endif
|
|
-
|
|
if cc.has_function('pipe')
|
|
conf_data.set('HAVE_PIPE', 1)
|
|
endif
|
|
--- 114,119 ----
|