From: Simon McVittie Date: Tue, 28 Jun 2022 11:28:08 +0000 (+0100) Subject: meson: Always define HAVE_DECL_MSG_NOSIGNAL to 1 or 0 X-Git-Tag: dbus-1.15.0~32^2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3edd80a6536d1a8772377e889f5e4cdbeb33e0;p=thirdparty%2Fdbus.git meson: Always define HAVE_DECL_MSG_NOSIGNAL to 1 or 0 This is consistent with Autotools AC_CHECK_DECLS. Signed-off-by: Simon McVittie --- diff --git a/meson.build b/meson.build index 7a8788ac6..2ae2050ce 100644 --- a/meson.build +++ b/meson.build @@ -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 ')