glib/gmacros.h: Fix up attribute to avoid namespace collisions
authorShota Akiyama <s7akiyama@gmail.com>
Thu, 23 Feb 2012 10:52:12 +0000 (11:52 +0100)
committerDan Winship <danw@gnome.org>
Sat, 3 Mar 2012 18:29:29 +0000 (13:29 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=670751

glib/gmacros.h

index 08f4035..4ad57da 100644 (file)
 #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