mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: add version macros for 3.36
This commit is contained in:
@ -75,6 +75,7 @@
|
||||
#endif
|
||||
|
||||
#define SYSPROF_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
|
||||
#define SYSPROF_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
|
||||
|
||||
#if (SYSPROF_MINOR_VERSION == 99)
|
||||
# define SYSPROF_VERSION_CUR_STABLE (G_ENCODE_VERSION (SYSPROF_MAJOR_VERSION + 1, 0))
|
||||
@ -160,3 +161,17 @@
|
||||
#else
|
||||
# define SYSPROF_AVAILABLE_IN_3_34 _SYSPROF_EXTERN
|
||||
#endif
|
||||
|
||||
#if SYSPROF_VERSION_MIN_REQUIRED >= SYSPROF_VERSION_3_36
|
||||
# define SYSPROF_DEPRECATED_IN_3_36 SYSPROF_DEPRECATED
|
||||
# define SYSPROF_DEPRECATED_IN_3_36_FOR(f) SYSPROF_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define SYSPROF_DEPRECATED_IN_3_36 _SYSPROF_EXTERN
|
||||
# define SYSPROF_DEPRECATED_IN_3_36_FOR(f) _SYSPROF_EXTERN
|
||||
#endif
|
||||
|
||||
#if SYSPROF_VERSION_MAX_ALLOWED < SYSPROF_VERSION_3_36
|
||||
# define SYSPROF_AVAILABLE_IN_3_36 SYSPROF_UNAVAILABLE(3, 34)
|
||||
#else
|
||||
# define SYSPROF_AVAILABLE_IN_3_36 _SYSPROF_EXTERN
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user