From 162b8e1a1587a15c6e73a27e45759aa105ace079 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sun, 28 Jul 2024 10:31:16 +0200 Subject: [PATCH] cogl: Remove no longer useful UNAVAILABLE macro It is no longer a separate library Part-of: --- cogl/cogl/cogl-macros.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cogl/cogl/cogl-macros.h b/cogl/cogl/cogl-macros.h index 895a597c0..7ce526fb2 100644 --- a/cogl/cogl/cogl-macros.h +++ b/cogl/cogl/cogl-macros.h @@ -42,7 +42,6 @@ #define COGL_DEPRECATED #define COGL_DEPRECATED_FOR(f) -#define COGL_UNAVAILABLE(maj,min) #else /* COGL_DISABLE_DEPRECATION_WARNINGS */ @@ -62,14 +61,6 @@ #define COGL_DEPRECATED_FOR(f) G_DEPRECATED #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 */ #define COGL_EXPORT __attribute__((visibility("default"))) extern