From ef8e27a4586f3e213437ed8caadb6a8ee56a16d9 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 2 Jun 2004 21:06:18 +0000 Subject: [project @ 2004-06-02 21:06:18 by bursa] Remove some #ifdef riscos. svn path=/import/netsurf/; revision=914 --- render/box.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'render') diff --git a/render/box.c b/render/box.c index d763ed8a1..fdda43c94 100644 --- a/render/box.c +++ b/render/box.c @@ -24,10 +24,10 @@ #include "netsurf/render/html.h" #ifdef riscos #include "netsurf/desktop/gui.h" +#endif #ifdef WITH_PLUGIN #include "netsurf/riscos/plugin.h" #endif -#endif #define NDEBUG #include "netsurf/utils/log.h" #include "netsurf/utils/messages.h" @@ -781,9 +781,20 @@ struct box_result box_br(xmlNode *n, struct box_status *status, } static const content_type image_types[] = { - CONTENT_JPEG, CONTENT_GIF, -#ifdef riscos - CONTENT_PNG, CONTENT_SPRITE, CONTENT_DRAW, +#ifdef WITH_JPEG + CONTENT_JPEG, +#endif +#ifdef WITH_GIF + CONTENT_GIF, +#endif +#ifdef WITH_PNG + CONTENT_PNG, +#endif +#ifdef WITH_SPRITE + CONTENT_SPRITE, +#endif +#ifdef WITH_DRAW + CONTENT_DRAW, #endif CONTENT_UNKNOWN }; -- cgit v1.2.3