diff options
author | Alberto Mardegan <alberto.mardegan@nokia.com> | 2009-02-26 14:48:11 +0200 |
---|---|---|
committer | Alberto Mardegan <alberto.mardegan@nokia.com> | 2009-02-26 14:48:11 +0200 |
commit | f61a872d715b4665eec3346eae62c799d9b1e3c4 (patch) | |
tree | b4056b0742f566a759f69f89f4fe2ff967d9bd43 | |
parent | 51890dc35c877e8869901c7caaf07c3666ce0b76 (diff) |
Try avoid conflicts with other macros
-rw-r--r-- | 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 60cc38ff..cce9c2ac 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 */ |