mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 13:28:02 +02:00
build-sys: drop DBUS_CMAKE
TEST_LISTEN is defined by the cmake/autotools (or meson) build systems. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
5f27dc813b
commit
e4d6b74b25
2 changed files with 0 additions and 7 deletions
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
#ifndef _DBUS_CONFIG_H
|
||||
#define _DBUS_CONFIG_H
|
||||
/****************************/
|
||||
/* indicate that we are building with cmake */
|
||||
#define DBUS_CMAKE 1
|
||||
|
||||
/* On Windows, we expect to be using msvcrt.dll-compatible printf
|
||||
* (%I64u instead of %llu) unless otherwise specified. This must be
|
||||
|
|
|
|||
|
|
@ -135,11 +135,7 @@ main (int argc, char *argv[])
|
|||
if (!dbus_connection_add_filter (session, filter_session_message, testdata, NULL))
|
||||
die ("couldn't add filter");
|
||||
|
||||
#ifdef DBUS_CMAKE
|
||||
server = dbus_server_listen (TEST_LISTEN, &error);
|
||||
#else
|
||||
server = dbus_server_listen ("unix:tmpdir=/tmp", &error);
|
||||
#endif
|
||||
if (!server)
|
||||
die ("%s", error.message);
|
||||
testdata->private_addr = dbus_server_get_address (server);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue