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