From c092556119aa61a54689da3a6187ba4003379290 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 18 Aug 2009 23:10:35 -0400 Subject: [PATCH] Made embedded libjpeg compile. --- jpeg-6b/jconfig.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 jpeg-6b/jconfig.h 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 */ + -- 2.39.5