blob: e4da3d72c2ca5779c6e8e76aa1518e6dbc129554 [file] [log] [blame]
Parker Schuhebf887e2016-01-10 18:04:04 -08001/* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
2/* see jconfig.txt 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#ifdef JPEG_INTERNALS
21
22#undef RIGHT_SHIFT_IS_UNSIGNED
23
24#ifdef __MSDOS__
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() */
28#endif
29
30#endif /* JPEG_INTERNALS */
31
32#ifdef JPEG_CJPEG_DJPEG
33
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 */
39
40#define TWO_FILE_COMMANDLINE
41#define USE_SETMODE /* Borland has setmode() */
42#ifdef __MSDOS__
43#define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
44#endif
45#undef DONT_USE_B_MODE
46#undef PROGRESS_REPORT /* optional */
47
48#endif /* JPEG_CJPEG_DJPEG */