aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-01-10 17:24:51 +0100
committerThomas White <taw@physics.org>2014-01-10 17:24:51 +0100
commit0308b88a8c09eb33dcc7cc9ef71f5198dc4a13a4 (patch)
tree30b04ae3bb55f548a295dc63efe787bfffb8f327 /src/scaling-report.h
parent3f25930e9f0135b3714573807d06133898ea6771 (diff)
Fix condition for scaling-report.h prototypes
Diffstat (limited to 'src/scaling-report.h')
-rw-r--r--src/scaling-report.h6
1 files changed, 3 insertions, 3 deletions
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 */