diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-03-05 09:49:15 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-03-05 09:49:15 +0000 |
commit | 208b98bb44b986e62ff0f80b7e50c9da3e12cb8f (patch) | |
tree | 83620f97ee05ddf3a4852607e465b2c1ae114175 /render/box_construct.c | |
parent | 323d5f3ba1b8ea700215616e42a5fb158ee7006f (diff) | |
download | netsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.gz netsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.bz2 |
Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency.
svn path=/trunk/netsurf/; revision=11911
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index d99e5deec..44fcb54b1 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -87,6 +87,9 @@ static const content_type image_types[] = { #ifdef WITH_AMIGA_ICON CONTENT_AMIGA_ICON, #endif +#ifdef WITH_APPLE_IMAGE + CONTENT_APPLE_IMAGE, +#endif CONTENT_UNKNOWN }; /* the strings are not important, since we just compare the pointers */ |