diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-30 17:45:52 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-03 12:00:44 +0100 |
commit | f17fd1cc4e8d69f92986b6f452618c6c1b9819dc (patch) | |
tree | 354229900365b6ae7be90e757dc4a1c096ff0dad /test/internals | |
parent | ce334cb0d6e141bc480f9d52741766018c2d16f7 (diff) |
Define DBUS_COMPILATION externally for all tests that use internal stuff
It might as well go in the AM_CPPFLAGS rather than in the source code.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'test/internals')
-rw-r--r-- | test/internals/printf.c | 1 | ||||
-rw-r--r-- | test/internals/refs.c | 1 | ||||
-rw-r--r-- | test/internals/syslog.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/test/internals/printf.c b/test/internals/printf.c index 2d2fff8d..db151518 100644 --- a/test/internals/printf.c +++ b/test/internals/printf.c @@ -26,7 +26,6 @@ #include <config.h> -#define DBUS_COMPILATION /* this test uses libdbus-internal */ #include <dbus/dbus.h> #include <dbus/dbus-internals.h> #include <dbus/dbus-string.h> diff --git a/test/internals/refs.c b/test/internals/refs.c index db43a4da..202dc043 100644 --- a/test/internals/refs.c +++ b/test/internals/refs.c @@ -29,7 +29,6 @@ #include <glib.h> #include <glib-object.h> -#define DBUS_COMPILATION /* this test uses libdbus-internal */ #include <dbus/dbus.h> #include <dbus/dbus-connection-internal.h> #include <dbus/dbus-mainloop.h> diff --git a/test/internals/syslog.c b/test/internals/syslog.c index 658281cb..2811b757 100644 --- a/test/internals/syslog.c +++ b/test/internals/syslog.c @@ -30,7 +30,6 @@ #include <glib.h> -#define DBUS_COMPILATION /* this test uses libdbus-internal */ #include <dbus/dbus.h> #include <dbus/dbus-sysdeps.h> |