1
0
Fork 0

cogl: Remove no longer useful UNAVAILABLE macro

It is no longer a separate library

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:
Bilal Elmoussaoui 2024-07-28 10:31:16 +02:00 committed by Marge Bot
parent 5d7c4bccd8
commit 162b8e1a15

View file

@ -42,7 +42,6 @@
#define COGL_DEPRECATED #define COGL_DEPRECATED
#define COGL_DEPRECATED_FOR(f) #define COGL_DEPRECATED_FOR(f)
#define COGL_UNAVAILABLE(maj,min)
#else /* COGL_DISABLE_DEPRECATION_WARNINGS */ #else /* COGL_DISABLE_DEPRECATION_WARNINGS */
@ -62,14 +61,6 @@
#define COGL_DEPRECATED_FOR(f) G_DEPRECATED #define COGL_DEPRECATED_FOR(f) G_DEPRECATED
#endif #endif
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
#define COGL_UNAVAILABLE(maj,min) __attribute__((deprecated("Not available before " #maj "." #min)))
#elif defined(_MSC_FULL_VER) && (_MSC_FULL_VER > 140050320)
#define COGL_UNAVAILABLE(maj,min) __declspec(deprecated("is not available before " #maj "." #min))
#else
#define COGL_UNAVAILABLE(maj,min)
#endif
#endif /* COGL_DISABLE_DEPRECATION_WARNINGS */ #endif /* COGL_DISABLE_DEPRECATION_WARNINGS */
#define COGL_EXPORT __attribute__((visibility("default"))) extern #define COGL_EXPORT __attribute__((visibility("default"))) extern