[glib] glib/gmacros.h: Fix up attribute to avoid namespace collisions



commit 5f280eb6a828d3bdeb932ce42ee97b2ab7e771f2
Author: Shota Akiyama <s7akiyama gmail com>
Date:   Thu Feb 23 11:52:12 2012 +0100

    glib/gmacros.h: Fix up attribute to avoid namespace collisions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670751

 glib/gmacros.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmacros.h b/glib/gmacros.h
index 08f4035..4ad57da 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -309,7 +309,7 @@
 #endif
 
 #if    __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
-#define G_DEPRECATED_FOR(f) __attribute__((deprecated("Use '" #f "' instead")))
+#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
 #elif defined(_MSC_FULL_VER) && (_MSC_FULL_VER > 140050320)
 #define G_DEPRECATED_FOR(f) __declspec(deprecated("is deprecated. Use '" #f "' instead"))
 #else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]