From 62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Jan 2004 02:10:59 +0000 Subject: [project @ 2004-01-05 02:10:59 by jmb] Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480 --- riscos/draw.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'riscos/draw.c') diff --git a/riscos/draw.c b/riscos/draw.c index c215b38f6..96b63b2b2 100644 --- a/riscos/draw.c +++ b/riscos/draw.c @@ -8,12 +8,14 @@ #include #include #include +#include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/riscos/draw.h" #include "netsurf/utils/utils.h" #include "netsurf/utils/log.h" #include "oslib/drawfile.h" +#ifdef WITH_DRAW void draw_create(struct content *c, const char *params[]) { c->data.draw.data = xcalloc(0, 1); @@ -106,3 +108,4 @@ void draw_redraw(struct content *c, long x, long y, xfree(matrix); } +#endif -- cgit v1.2.3