mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 04:15:49 +01:00
glib/gmacros.h: Fix up attribute to avoid namespace collisions
https://bugzilla.gnome.org/show_bug.cgi?id=670751
This commit is contained in:
parent
deea0e39ba
commit
5f280eb6a8
@ -309,7 +309,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
|
#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)
|
#elif defined(_MSC_FULL_VER) && (_MSC_FULL_VER > 140050320)
|
||||||
#define G_DEPRECATED_FOR(f) __declspec(deprecated("is deprecated. Use '" #f "' instead"))
|
#define G_DEPRECATED_FOR(f) __declspec(deprecated("is deprecated. Use '" #f "' instead"))
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user