From: Ryan C. Gordon Date: Wed, 19 Aug 2009 03:10:35 +0000 (-0400) Subject: Made embedded libjpeg compile. X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=c092556119aa61a54689da3a6187ba4003379290;p=lugaru.git Made embedded libjpeg compile. --- diff --git a/jpeg-6b/jconfig.h b/jpeg-6b/jconfig.h new file mode 100644 index 0000000..f09fd96 --- /dev/null +++ b/jpeg-6b/jconfig.h @@ -0,0 +1,18 @@ +#define HAVE_PROTOTYPES +#define HAVE_STDDEF_H +#define HAVE_STDLIB_H +#define NEED_BSD_STRINGS +#define NEED_SYS_TYPES_H + +#ifdef JPEG_INTERNALS +#define INLINE inline +#endif /* JPEG_INTERNALS */ + +#ifdef JPEG_CJPEG_DJPEG +#define BMP_SUPPORTED /* BMP image file format */ +#define GIF_SUPPORTED /* GIF image file format */ +#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ +#undef RLE_SUPPORTED /* Utah RLE image file format */ +#define TARGA_SUPPORTED /* Targa image file format */ +#endif /* JPEG_CJPEG_DJPEG */ +