[goffice] Compilation: really check whether librsvg cairo file must be included.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: really check whether librsvg cairo file must be included.
- Date: Fri, 31 May 2013 01:06:17 +0000 (UTC)
commit ef484374bae33ea56ee149caed1d588a103cd359
Author: Morten Welinder <terra gnome org>
Date: Thu May 30 21:05:02 2013 -0400
Compilation: really check whether librsvg cairo file must be included.
goffice/component/go-component.c | 2 +-
goffice/utils/go-svg.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/goffice/component/go-component.c b/goffice/component/go-component.c
index 43e11c5..2b64711 100644
--- a/goffice/component/go-component.c
+++ b/goffice/component/go-component.c
@@ -32,7 +32,7 @@
#include <librsvg/rsvg.h>
#ifdef LIBRSVG_CHECK_VERSION
-#define NEEDS_LIBRSVG_CAIRO_H LIBRSVG_CHECK_VERSION(2,36,2)
+#define NEEDS_LIBRSVG_CAIRO_H !LIBRSVG_CHECK_VERSION(2,36,2)
#else
#define NEEDS_LIBRSVG_CAIRO_H 1
#endif
diff --git a/goffice/utils/go-svg.c b/goffice/utils/go-svg.c
index 56bf972..593c3b9 100644
--- a/goffice/utils/go-svg.c
+++ b/goffice/utils/go-svg.c
@@ -24,7 +24,7 @@
#include <librsvg/rsvg.h>
#ifdef LIBRSVG_CHECK_VERSION
-#define NEEDS_LIBRSVG_CAIRO_H LIBRSVG_CHECK_VERSION(2,36,2)
+#define NEEDS_LIBRSVG_CAIRO_H !LIBRSVG_CHECK_VERSION(2,36,2)
#else
#define NEEDS_LIBRSVG_CAIRO_H 1
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]