From 0308b88a8c09eb33dcc7cc9ef71f5198dc4a13a4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 10 Jan 2014 17:24:51 +0100 Subject: Fix condition for scaling-report.h prototypes --- src/scaling-report.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/scaling-report.h') diff --git a/src/scaling-report.h b/src/scaling-report.h index 1d430042..5f6e2cb4 100644 --- a/src/scaling-report.h +++ b/src/scaling-report.h @@ -48,7 +48,7 @@ struct srdata int n_filtered; }; -#ifdef HAVE_CAIRO +#if defined(HAVE_CAIRO) && defined(HAVE_PANGO) && defined(HAVE_PANGOCAIRO) extern SRContext *sr_titlepage(Crystal **crystals, int n, const char *filename, @@ -59,7 +59,7 @@ extern void sr_iteration(SRContext *sr, int iteration, struct srdata *d); extern void sr_finish(SRContext *sr); -#else +#else /* defined(HAVE_CAIRO) && defined(HAVE_PANGO) && ... */ SRContext *sr_titlepage(Crystal **crystals, int n, const char *filename, const char *stream_filename, const char *cmdline) @@ -75,7 +75,7 @@ void sr_finish(SRContext *sr) { } -#endif +#endif /* defined(HAVE_CAIRO) && defined(HAVE_PANGO) && ... */ #endif /* SCALING_REPORT_H */ -- cgit v1.2.3