mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
Bug 661438: Fix up gmacros.h a bit
The macro here should be G_DEPRECATED, not G_GNUC_DEPRECATED.
This commit is contained in:
parent
17c713d3f6
commit
36ccdab760
@ -290,7 +290,7 @@
|
|||||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||||
#define G_DEPRECATED __attribute__((__deprecated__))
|
#define G_DEPRECATED __attribute__((__deprecated__))
|
||||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
|
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
|
||||||
#define G_GNUC_DEPRECATED __declspec(deprecated)
|
#define G_DEPRECATED __declspec(deprecated)
|
||||||
#else
|
#else
|
||||||
#define G_DEPRECATED
|
#define G_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user