]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Remove DBUS_COMPILATION from test source code
authorChengwei Yang <chengwei.yang@intel.com>
Wed, 11 Sep 2013 07:27:38 +0000 (15:27 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 13 Sep 2013 12:44:09 +0000 (13:44 +0100)
DBUS_COMPILATION definition was moved to test/Makefile.am static_cppflags,
so remove it from test source code.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/break-loader.c

index e62b8c20788ede926a122e45bb8b353fa3e4d61c..1e406fc340e69f9b34059c3d614d5a7c0eb571c3 100644 (file)
 #include <sys/wait.h>
 #include <string.h>
 
-#define DBUS_COMPILATION 
 #include <dbus/dbus-string.h>
 #include <dbus/dbus-internals.h>
 #include <dbus/dbus-test.h>
 #include <dbus/dbus-marshal-basic.h>
-#undef DBUS_COMPILATION
 
 static DBusString failure_dir;
 static int total_attempts;