From 5f280eb6a828d3bdeb932ce42ee97b2ab7e771f2 Mon Sep 17 00:00:00 2001 From: Shota Akiyama Date: Thu, 23 Feb 2012 11:52:12 +0100 Subject: [PATCH] glib/gmacros.h: Fix up attribute to avoid namespace collisions https://bugzilla.gnome.org/show_bug.cgi?id=670751 --- glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gmacros.h b/glib/gmacros.h index 08f4035d9..4ad57da36 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