Skip to content

Commit

Permalink
[cairo-script] Remove outdated #error to allow compilation to succeed.
Browse files Browse the repository at this point in the history
The interpreter doesn't depend on the script surface anymore.
  • Loading branch information
M Joonas Pihlaja committed Nov 13, 2008
1 parent cdfffc7 commit 3b11997
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions util/cairo-script/cairo-script-interpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@

#include <cairo.h>

#if CAIRO_HAS_SCRIPT_SURFACE

CAIRO_BEGIN_DECLS

typedef struct _cairo_script_interpreter cairo_script_interpreter_t;
Expand Down Expand Up @@ -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*/

0 comments on commit 3b11997

Please sign in to comment.