From 6dd385591dcda09a4b2a4fe34d812a2c33e9db02 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 20 Jun 2009 19:38:56 +0000 Subject: NETSURF_USE_DRAW should apply to the Draw content handler only. Introduce NETSURF_USE_DRAW_EXPORT to toggle draw export support. Fix up a bunch of stuff related to this. Fix warnings caused by disabling the Sprite renderer. svn path=/trunk/netsurf/; revision=7899 --- riscos/save_draw.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'riscos/save_draw.c') diff --git a/riscos/save_draw.c b/riscos/save_draw.c index a5dbb8df2..812b9409a 100644 --- a/riscos/save_draw.c +++ b/riscos/save_draw.c @@ -22,6 +22,8 @@ * Export a content as a DrawFile (implementation). */ +#ifdef WITH_DRAW_EXPORT + #include #include #include "oslib/draw.h" @@ -460,3 +462,5 @@ bool ro_save_draw_error(pencil_code code) return false; } + +#endif -- cgit v1.2.3