[PATCH 2/2] win32 fix: make dbus string content visible to debuggers

Ralf Habacker ralf.habacker at freenet.de
Sat Feb 27 00:09:04 PST 2010


---
 dbus/dbus-string.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dbus/dbus-string.h b/dbus/dbus-string.h
index 8d6e530..1018cd1 100644
--- a/dbus/dbus-string.h
+++ b/dbus/dbus-string.h
@@ -43,7 +43,11 @@ typedef struct DBusString DBusString;
 
 struct DBusString
 {
+#if defined(DBUS_WIN) && defined(_DEBUG)
+  const char *dummy1; /**< placeholder */
+#else
   const void *dummy1; /**< placeholder */
+#endif
   int   dummy2;       /**< placeholder */
   int   dummy3;       /**< placeholder */
   int   dummy4;       /**< placeholder */
-- 
1.6.4.msysgit.0


--------------000806080302070905080600--


More information about the dbus mailing list