1 /* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
2 /* see jconfig.doc for explanations */
4 #define HAVE_PROTOTYPES
5 #define HAVE_UNSIGNED_CHAR
6 #define HAVE_UNSIGNED_SHORT
7 /* #define void char */
9 #undef CHAR_IS_UNSIGNED
12 #undef NEED_BSD_STRINGS
13 #undef NEED_SYS_TYPES_H
15 #define NEED_FAR_POINTERS /* for small or medium memory model */
17 #undef NEED_SHORT_EXTERNAL_NAMES
18 #undef INCOMPLETE_TYPES_BROKEN /* this assumes you have -w-stu in CFLAGS */
22 #undef RIGHT_SHIFT_IS_UNSIGNED
25 #define USE_MSDOS_MEMMGR /* Define this if you use jmemdos.c */
26 #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
27 #define USE_FMEM /* Borland has _fmemcpy() and _fmemset() */
30 #endif /* JPEG_INTERNALS */
32 #ifdef JPEG_CJPEG_DJPEG
34 #define BMP_SUPPORTED /* BMP image file format */
35 #define GIF_SUPPORTED /* GIF image file format */
36 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
37 #undef RLE_SUPPORTED /* Utah RLE image file format */
38 #define TARGA_SUPPORTED /* Targa image file format */
40 #define TWO_FILE_COMMANDLINE
41 #define USE_SETMODE /* Borland has setmode() */
43 #define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
45 #undef DONT_USE_B_MODE
46 #undef PROGRESS_REPORT /* optional */
48 #endif /* JPEG_CJPEG_DJPEG */