[Telepathy-commits] [telepathy-mission-control/master] Try avoid conflicts with other macros

Alberto Mardegan alberto.mardegan at nokia.com
Thu Feb 26 04:48:11 PST 2009


---
 src/mcd-debug.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mcd-debug.h b/src/mcd-debug.h
index 60cc38f..cce9c2a 100644
--- a/src/mcd-debug.h
+++ b/src/mcd-debug.h
@@ -41,8 +41,10 @@ G_BEGIN_DECLS
 } G_STMT_END
 
 /* reference count debugging */
+#ifndef g_object_ref
 #define g_object_ref(obj)    (mcd_debug_ref (obj, __FILE__, __LINE__))
 #define g_object_unref(obj)  (mcd_debug_unref (obj, __FILE__, __LINE__))
+#endif
 
 #else /* !defined ENABLE_DEBUG */
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list