diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-08-28 14:29:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-08-28 14:29:15 +0000 |
commit | cd554e6f1e42c440c791845a1a635415b23a19a2 (patch) | |
tree | 7079b2d0e4e4a24c9f5687d6cee9ce3b0c93b2f9 /image/bmp.h | |
parent | 401072e305c152b42d99d94b2283cf928562f132 (diff) | |
download | netsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.gz netsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.bz2 |
make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
Diffstat (limited to 'image/bmp.h')
-rw-r--r-- | image/bmp.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/image/bmp.h b/image/bmp.h index 885b94344..bdd8ffa5f 100644 --- a/image/bmp.h +++ b/image/bmp.h @@ -24,11 +24,8 @@ #ifndef _NETSURF_IMAGE_BMP_H_ #define _NETSURF_IMAGE_BMP_H_ -#include "utils/config.h" -#ifdef WITH_BMP - -#include <stdbool.h> #include <libnsbmp.h> + #include "image/bitmap.h" extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */ @@ -36,11 +33,4 @@ extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO c nserror nsbmp_init(void); void nsbmp_fini(void); -#else - -#define nsbmp_init() NSERROR_OK -#define nsbmp_fini() ((void) 0) - -#endif /* WITH_BMP */ - #endif |