summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-03-27 00:54:03 +0000
committerJames Bursa <james@netsurf-browser.org>2004-03-27 00:54:03 +0000
commitb0fdba3f596edb61e8f976ae67ad02d641429525 (patch)
tree4a9285adf5f17b9f73c76d2f1558dc1e5e7c94a0 /content/content.c
parent48c8934431ef866055f3520ec9df4a1cf4d04ebc (diff)
downloadnetsurf-b0fdba3f596edb61e8f976ae67ad02d641429525.tar.gz
netsurf-b0fdba3f596edb61e8f976ae67ad02d641429525.tar.bz2
[project @ 2004-03-27 00:53:19 by bursa]
Add imagemap and jpeg to the debug build. svn path=/import/netsurf/; revision=675
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/content.c b/content/content.c
index 9c560326e..337b1276d 100644
--- a/content/content.c
+++ b/content/content.c
@@ -21,10 +21,10 @@
#include "netsurf/css/css.h"
#include "netsurf/render/html.h"
#include "netsurf/render/textplain.h"
-#ifdef riscos
#ifdef WITH_JPEG
#include "netsurf/riscos/jpeg.h"
#endif
+#ifdef riscos
#ifdef WITH_PNG
#include "netsurf/riscos/png.h"
#endif
@@ -62,10 +62,12 @@ static const struct mime_entry mime_map[] = {
#ifdef WITH_GIF
{"image/gif", CONTENT_GIF},
#endif
+#endif
#ifdef WITH_JPEG
{"image/jpeg", CONTENT_JPEG},
{"image/pjpeg", CONTENT_JPEG},
#endif
+#ifdef riscos
#ifdef WITH_PNG
{"image/png", CONTENT_PNG},
#endif
@@ -114,11 +116,11 @@ static const struct handler_entry handler_map[] = {
0, 0, 0, 0, 0, 0, 0},
{css_create, 0, css_convert, css_revive,
0, css_destroy, 0, 0, 0, 0},
-#ifdef riscos
#ifdef WITH_JPEG
{nsjpeg_create, 0, nsjpeg_convert, 0,
0, nsjpeg_destroy, nsjpeg_redraw, 0, 0, 0},
#endif
+#ifdef riscos
#ifdef WITH_PNG
{nspng_create, nspng_process_data, nspng_convert, 0,
0, nspng_destroy, nspng_redraw, 0, 0, 0},