| 1 | /* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
|
---|
| 2 | /* see jconfig.doc for explanations */
|
---|
| 3 |
|
---|
| 4 | #define HAVE_PROTOTYPES
|
---|
| 5 | #define HAVE_UNSIGNED_CHAR
|
---|
| 6 | #define HAVE_UNSIGNED_SHORT
|
---|
| 7 | /* #define void char */
|
---|
| 8 | /* #define const */
|
---|
| 9 | #undef CHAR_IS_UNSIGNED
|
---|
| 10 | #define HAVE_STDDEF_H
|
---|
| 11 | #define HAVE_STDLIB_H
|
---|
| 12 | #undef NEED_BSD_STRINGS
|
---|
| 13 | #undef NEED_SYS_TYPES_H
|
---|
| 14 | #ifdef __MSDOS__
|
---|
| 15 | #define NEED_FAR_POINTERS /* for small or medium memory model */
|
---|
| 16 | #endif
|
---|
| 17 | #undef NEED_SHORT_EXTERNAL_NAMES
|
---|
| 18 | #undef INCOMPLETE_TYPES_BROKEN /* this assumes you have -w-stu in CFLAGS */
|
---|
| 19 |
|
---|
| 20 | /* Define "boolean" as unsigned char, not int, per Windows custom */
|
---|
| 21 | #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
|
---|
| 22 | typedef unsigned char boolean;
|
---|
| 23 | #endif
|
---|
| 24 | #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
|
---|
| 25 |
|
---|
| 26 | #ifdef JPEG_INTERNALS
|
---|
| 27 |
|
---|
| 28 | #undef RIGHT_SHIFT_IS_UNSIGNED
|
---|
| 29 |
|
---|
| 30 | #ifdef __MSDOS__
|
---|
| 31 | #define USE_MSDOS_MEMMGR /* Define this if you use jmemdos.c */
|
---|
| 32 | #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
|
---|
| 33 | #define USE_FMEM /* Borland has _fmemcpy() and _fmemset() */
|
---|
| 34 | #endif
|
---|
| 35 |
|
---|
| 36 | #endif /* JPEG_INTERNALS */
|
---|
| 37 |
|
---|
| 38 | #ifdef JPEG_CJPEG_DJPEG
|
---|
| 39 |
|
---|
| 40 | #define BMP_SUPPORTED /* BMP image file format */
|
---|
| 41 | #define GIF_SUPPORTED /* GIF image file format */
|
---|
| 42 | #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
|
---|
| 43 | #undef RLE_SUPPORTED /* Utah RLE image file format */
|
---|
| 44 | #define TARGA_SUPPORTED /* Targa image file format */
|
---|
| 45 |
|
---|
| 46 | #define TWO_FILE_COMMANDLINE
|
---|
| 47 | #define USE_SETMODE /* Borland has setmode() */
|
---|
| 48 | #ifdef __MSDOS__
|
---|
| 49 | #define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
|
---|
| 50 | #endif
|
---|
| 51 | #undef DONT_USE_B_MODE
|
---|
| 52 | #undef PROGRESS_REPORT /* optional */
|
---|
| 53 |
|
---|
| 54 | #endif /* JPEG_CJPEG_DJPEG */
|
---|