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/sprite.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'riscos/sprite.c') diff --git a/riscos/sprite.c b/riscos/sprite.c index 51c3a057c..44bd39c9a 100644 --- a/riscos/sprite.c +++ b/riscos/sprite.c @@ -8,6 +8,7 @@ #include #include #include +#include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/riscos/sprite.h" #include "netsurf/utils/utils.h" @@ -15,6 +16,8 @@ #include "oslib/colourtrans.h" #include "oslib/osspriteop.h" +#ifdef WITH_SPRITE + void sprite_create(struct content *c, const char *params[]) { c->data.sprite.data = xcalloc(4, 1); @@ -114,3 +117,4 @@ void sprite_redraw(struct content *c, long x, long y, xfree(table); } +#endif -- cgit v1.2.3