summaryrefslogtreecommitdiff
path: root/include/rsvg-version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/rsvg-version.h.in')
-rw-r--r--include/rsvg-version.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/rsvg-version.h.in b/include/rsvg-version.h.in
new file mode 100644
index 00000000..5fe431a9
--- /dev/null
+++ b/include/rsvg-version.h.in
@@ -0,0 +1,13 @@
+#if !defined (__RSVG_RSVG_H_INSIDE__) && !defined (RSVG_COMPILATION)
+#warning "Including <librsvg/rsvg-version.h> directly is deprecated."
+#endif
+
+#ifndef RSVG_VERSION_H
+#define RSVG_VERSION_H
+
+#define LIBRSVG_MAJOR_VERSION (@LIBRSVG_MAJOR_VERSION@)
+#define LIBRSVG_MINOR_VERSION (@LIBRSVG_MINOR_VERSION@)
+#define LIBRSVG_MICRO_VERSION (@LIBRSVG_MICRO_VERSION@)
+#define LIBRSVG_VERSION "@PACKAGE_VERSION@"
+
+#endif