summaryrefslogtreecommitdiff
path: root/src/cairo-version.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2020-09-24 12:42:54 +0100
committerTim-Philipp Müller <tim@centricular.com>2020-09-29 15:50:53 +0000
commit4ea2991a40d547d3c7800f862206741625a84417 (patch)
tree8e74701e5844b02919a052c111cbee6863cd910e /src/cairo-version.c
parent96017adf652433584d2a81add601409c3a5d9cd5 (diff)
downloadcairo-4ea2991a40d547d3c7800f862206741625a84417.tar.gz
Retire dummy cairo-version.h header to fix meson subproject build
It was originally added to make bisecting easier, but has outlived its usefuleness now. Going forward we'll have just a single cairo-version.h header file, the one with the real version numbers. This is needed to fix the case where cairo is being built as a Meson subproject, but also simplifies things in general. Fixes #421
Diffstat (limited to 'src/cairo-version.c')
-rw-r--r--src/cairo-version.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cairo-version.c b/src/cairo-version.c
index 65ae2b108..943e1cde0 100644
--- a/src/cairo-version.c
+++ b/src/cairo-version.c
@@ -36,14 +36,8 @@
* Carl D. Worth <cworth@cworth.org>
*/
-#define CAIRO_VERSION_H 1
-
#include "cairoint.h"
-/* get the "real" version info instead of dummy cairo-version.h */
-#undef CAIRO_VERSION_H
-#include "../cairo-version.h"
-
/**
* SECTION:cairo-version
* @Title: Version Information