mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-21 18:00:36 +01:00
meson: Always define HAVE_DECL_MSG_NOSIGNAL to 1 or 0
This is consistent with Autotools AC_CHECK_DECLS. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
4f966cc1b4
commit
ec3edd80a6
1 changed files with 2 additions and 2 deletions
|
|
@ -618,8 +618,8 @@ config.set('DBUS_VA_COPY', va_copy)
|
|||
#### Atomic integers
|
||||
config.set10('DBUS_USE_SYNC', cc.has_function('__sync_sub_and_fetch') ? 1 : false)
|
||||
|
||||
config.set('HAVE_DECL_MSG_NOSIGNAL',
|
||||
cc.has_header_symbol('sys/socket.h', 'MSG_NOSIGNAL') ? 1 : false
|
||||
config.set10('HAVE_DECL_MSG_NOSIGNAL',
|
||||
cc.has_header_symbol('sys/socket.h', 'MSG_NOSIGNAL')
|
||||
)
|
||||
config.set('HAVE_SOCKLEN_T',
|
||||
cc.has_type('socklen_t', prefix: '#include <sys/socket.h>')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue