win32 dbus-thread related patch
Ralf Habacker
ralf.habacker at freenet.de
Tue Jun 19 12:34:56 PDT 2007
Hi,
on windows the following patch is required because dbus_threads_init
(&fake_functions) isn't available. How to proceed ?
Ralf
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-threads.c,v
retrieving revision 1.36
diff -u -r1.36 dbus-threads.c
--- dbus/dbus-threads.c 28 Oct 2006 01:41:37 -0000 1.36
+++ dbus/dbus-threads.c 8 Mar 2007 20:25:41 -0000
@@ -810,7 +810,11 @@
dbus_bool_t
_dbus_threads_init_debug (void)
{
+#if defined(DBUS_WIN)
+ return _dbus_threads_init_platform_specific();
+#else
return dbus_threads_init (&fake_functions);
+#endif
}
#endif /* DBUS_BUILD_TESTS */
More information about the dbus
mailing list