From 3b11997a23baa9e38e87b584ee29f4888a5d92f7 Mon Sep 17 00:00:00 2001 From: M Joonas Pihlaja Date: Thu, 13 Nov 2008 18:01:47 +0200 Subject: [PATCH] [cairo-script] Remove outdated #error to allow compilation to succeed. The interpreter doesn't depend on the script surface anymore. --- util/cairo-script/cairo-script-interpreter.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util/cairo-script/cairo-script-interpreter.h b/util/cairo-script/cairo-script-interpreter.h index 21a3a15b2..d619388e0 100644 --- a/util/cairo-script/cairo-script-interpreter.h +++ b/util/cairo-script/cairo-script-interpreter.h @@ -38,8 +38,6 @@ #include -#if CAIRO_HAS_SCRIPT_SURFACE - CAIRO_BEGIN_DECLS typedef struct _cairo_script_interpreter cairo_script_interpreter_t; @@ -97,8 +95,4 @@ cairo_script_interpreter_destroy (cairo_script_interpreter_t *ctx); CAIRO_END_DECLS -#else /*CAIRO_HAS_SCRIPT_SURFACE*/ -# error Cairo was not compiled with support for the CairoScript backend -#endif /*CAIRO_HAS_SCRIPT_SURFACE*/ - #endif /*CAIRO_SCRIPT_INTERPRETER_H*/