summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate.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 /boilerplate/cairo-boilerplate.c
parent96017adf652433584d2a81add601409c3a5d9cd5 (diff)
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 'boilerplate/cairo-boilerplate.c')
-rw-r--r--boilerplate/cairo-boilerplate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index 4804deaff..383606177 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -24,8 +24,6 @@
* Author: Carl D. Worth <cworth@cworth.org>
*/
-#define CAIRO_VERSION_H 1
-
#include "cairo-boilerplate-private.h"
#include "cairo-boilerplate-scaled-font.h"
@@ -38,10 +36,6 @@
#include <cairo-script.h>
#endif
-/* get the "real" version info instead of dummy cairo-version.h */
-#undef CAIRO_VERSION_H
-#include "../cairo-version.h"
-
#include <stddef.h>
#include <stdlib.h>
#include <ctype.h>