diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-20 11:22:41 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-11-19 15:34:00 +0000 |
commit | aaddc6c50d961a78e63145a1f40ada28a0fe5109 (patch) | |
tree | 48c9c071aa2fd6cf3a7a30021c0120d25c35c44f | |
parent | 39a1c14556d4f89ae9bd1d63155ee622afe89bfb (diff) | |
download | dbus-glib-aaddc6c50d961a78e63145a1f40ada28a0fe5109.tar.gz |
Remove remnants of DBUS_DISABLE_ASSERT
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | test/core/test-profile.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index de437e9..b1cb2ae 100644 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,6 @@ if test x$enable_tests = xyes; then fi if test x$enable_asserts = xno; then - AC_DEFINE(DBUS_DISABLE_ASSERT,1,[Disable assertion checking]) AC_DEFINE(G_DISABLE_ASSERT,1,[Disable GLib assertion macros]) fi if test x$enable_checks = xno; then diff --git a/test/core/test-profile.c b/test/core/test-profile.c index 8ad3e22..42194d6 100644 --- a/test/core/test-profile.c +++ b/test/core/test-profile.c @@ -1107,7 +1107,7 @@ main (int argc, char *argv[]) g_thread_init (NULL); dbus_g_thread_init (); -#ifndef DBUS_DISABLE_ASSERT +#ifndef G_DISABLE_ASSERT g_printerr ("You should probably --disable-asserts before you profile as they have noticeable overhead\n"); #endif |