summaryrefslogtreecommitdiff
path: root/test/test-utils.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-08-30 17:45:52 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-03 12:00:44 +0100
commitf17fd1cc4e8d69f92986b6f452618c6c1b9819dc (patch)
tree354229900365b6ae7be90e757dc4a1c096ff0dad /test/test-utils.h
parentce334cb0d6e141bc480f9d52741766018c2d16f7 (diff)
downloaddbus-f17fd1cc4e8d69f92986b6f452618c6c1b9819dc.tar.gz
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/test-utils.h')
-rw-r--r--test/test-utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/test-utils.h b/test/test-utils.h
index 3e1e55e6..8d5357e1 100644
--- a/test/test-utils.h
+++ b/test/test-utils.h
@@ -1,14 +1,10 @@
#ifndef TEST_UTILS_H
#define TEST_UTILS_H
-#ifndef DBUS_COMPILATION
-#define DBUS_COMPILATION /* Cheat and use private stuff */
-#endif
#include <dbus/dbus.h>
#include <stdio.h>
#include <stdlib.h>
#include <dbus/dbus-mainloop.h>
#include <dbus/dbus-internals.h>
-#undef DBUS_COMPILATION
dbus_bool_t test_connection_setup (DBusLoop *loop,
DBusConnection *connection);