diff options
Diffstat (limited to 'librsvg-features.h.in')
-rw-r--r-- | librsvg-features.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librsvg-features.h.in b/librsvg-features.h.in index c028162c..7deb6ac1 100644 --- a/librsvg-features.h.in +++ b/librsvg-features.h.in @@ -6,6 +6,11 @@ #define LIBRSVG_MICRO_VERSION (@LIBRSVG_MICRO_VERSION@) #define LIBRSVG_VERSION "@PACKAGE_VERSION@" +#define LIBRSVG_CHECK_VERSION(major,minor,micro) \ + (LIBRSVG_MAJOR_VERSION > (major) || \ + (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \ + (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && LIBRSVG_MICRO_VERSION >= (micro))) + extern const unsigned int librsvg_major_version, librsvg_minor_version, librsvg_micro_version; extern const char *librsvg_version; |