diff options
-rw-r--r-- | perf/cairo-perf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index 91f8e688..0bee719b 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -68,8 +68,10 @@ target_is_measurable (cairo_boilerplate_target_t *target) case CAIRO_SURFACE_TYPE_WIN32: case CAIRO_SURFACE_TYPE_BEOS: case CAIRO_SURFACE_TYPE_DIRECTFB: +#if CAIRO_VERSION_MAJOR > 1 || (CAIRO_VERSION_MAJOR = 1 && CAIRO_VERSION_MINOR > 2) case CAIRO_SURFACE_TYPE_NQUARTZ: case CAIRO_SURFACE_TYPE_OS2: +#endif return TRUE; case CAIRO_SURFACE_TYPE_PDF: case CAIRO_SURFACE_TYPE_PS: |