diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-03-16 16:57:13 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-03-16 16:57:13 +0000 |
| commit | 463eb3a18155d848733e33afbc75bfdccc9a1784 (patch) | |
| tree | eede2f2bcc29723fae9149c445c78424e90af653 /jpeg/jconfig.h | |
| parent | 992192dd0261da8efc9df6016806e05f80b9b81e (diff) | |
Update bundled libjpeg from jpeg-8c to jpeg-9a.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'jpeg/jconfig.h')
| -rw-r--r-- | jpeg/jconfig.h | 72 |
1 files changed, 47 insertions, 25 deletions
diff --git a/jpeg/jconfig.h b/jpeg/jconfig.h index 53e01f453..900301492 100644 --- a/jpeg/jconfig.h +++ b/jpeg/jconfig.h @@ -1,31 +1,49 @@ +/* FLTK *************************************************************** */ +/* FLTK Comments marked with FLTK show modifications for FLTK which */ +/* FLTK should probably be preserved when the JPEG lib is upgraded. */ +/* FLTK *************************************************************** */ + +/* jconfig.h. Generated from jconfig.cfg by configure. */ /* jconfig.cfg --- source file edited by configure script */ -/* see jconfig.doc for explanations */ - -#define HAVE_PROTOTYPES -#define HAVE_UNSIGNED_CHAR -#define HAVE_UNSIGNED_SHORT -#ifdef __CHAR_UNSIGNED__ -# define CHAR_IS_UNSIGNED -#endif /* __CHAR_UNSIGNED__ */ -#define HAVE_STDLIB_H +/* see jconfig.txt for explanations */ + +#define HAVE_PROTOTYPES 1 +#define HAVE_UNSIGNED_CHAR 1 +#define HAVE_UNSIGNED_SHORT 1 +/* #undef void */ +/* #undef const */ +/* #undef CHAR_IS_UNSIGNED */ +/* #define HAVE_STDDEF_H 1 */ /* FLTK */ +#define HAVE_STDLIB_H 1 +/* #define HAVE_LOCALE_H 1 */ /* FLTK */ +/* #undef NEED_BSD_STRINGS */ +/* #undef NEED_SYS_TYPES_H */ +/* #undef NEED_FAR_POINTERS */ +/* #undef NEED_SHORT_EXTERNAL_NAMES */ /* Define this if you get warnings about undefined structures. */ -#undef INCOMPLETE_TYPES_BROKEN +/* #undef INCOMPLETE_TYPES_BROKEN */ -#if defined(WIN32) || defined(__EMX__) -/* Define "boolean" as unsigned char, not int, per Windows custom */ -# ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ +/* Define "boolean" as unsigned char, not enum, on Windows systems. */ +#ifdef _WIN32 +#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ typedef unsigned char boolean; -# endif -# define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ -#endif /* WIN32 || __EMX__ */ +#endif +#ifndef FALSE /* in case these macros already exist */ +#define FALSE 0 /* values of boolean */ +#endif +#ifndef TRUE +#define TRUE 1 +#endif +#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ +#endif #ifdef JPEG_INTERNALS -#undef RIGHT_SHIFT_IS_UNSIGNED -#undef INLINE +/* #undef RIGHT_SHIFT_IS_UNSIGNED */ +/* #define INLINE __inline__ */ /* FLTK */ /* These are for configuring the JPEG memory manager. */ -#undef DEFAULT_MAX_MEM -#undef NO_MKTEMP +/* #undef DEFAULT_MAX_MEM */ +/* #undef NO_MKTEMP */ #endif /* JPEG_INTERNALS */ @@ -34,18 +52,22 @@ typedef unsigned char boolean; #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 */ +/* #undef RLE_SUPPORTED */ #define TARGA_SUPPORTED /* Targa image file format */ -#undef TWO_FILE_COMMANDLINE -#undef NEED_SIGNAL_CATCHER -#undef DONT_USE_B_MODE +/* #undef TWO_FILE_COMMANDLINE */ +/* #undef NEED_SIGNAL_CATCHER */ +/* #undef DONT_USE_B_MODE */ + +#if 0 /* FLTK 1.3.3 (disabled in FLTK 1.3.4) */ #if defined(WIN32) || defined(__EMX__) # define USE_SETMODE #endif /* WIN32 || __EMX__ */ +#endif /* FLTK 1.3.3 (disabled in FLTK 1.3.4) */ + /* Define this if you want percent-done progress reports from cjpeg/djpeg. */ -#undef PROGRESS_REPORT +/* #undef PROGRESS_REPORT */ #endif /* JPEG_CJPEG_DJPEG */ |
