From: Ralf Habacker Date: Wed, 21 Apr 2010 13:50:16 +0000 (+0200) Subject: Fixed autotools mingw cross compile bug reported by Fridrich Strba. X-Git-Tag: dbus-1.3.1~43^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82d7d98a0e9fba776caebeabe519c72ede8e87b;p=thirdparty%2Fdbus.git Fixed autotools mingw cross compile bug reported by Fridrich Strba. --- diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index ffdb2d6f8..7a5d088f7 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -2394,6 +2394,7 @@ void _dbus_print_backtrace(void) _dbus_verbose (" D-Bus not compiled with backtrace support\n"); } #endif +#endif /* asserts or tests enabled */ static dbus_uint32_t fromAscii(char ascii) { @@ -2878,8 +2879,6 @@ _dbus_atomic_dec (DBusAtomic *atomic) return InterlockedDecrement (&atomic->value) + 1; } -#endif /* asserts or tests enabled */ - /** * Called when the bus daemon is signaled to reload its configuration; any * caches should be nuked. Of course any caches that need explicit reload