Home | History | Annotate | Download | only in jpeg
      1 /* jconfig.mc6 --- jconfig.h for Microsoft C on MS-DOS, version 6.00A & up. */
      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 #define NEED_FAR_POINTERS	/* for small or medium memory model */
     15 #undef NEED_SHORT_EXTERNAL_NAMES
     16 #undef INCOMPLETE_TYPES_BROKEN
     17 
     18 #ifdef JPEG_INTERNALS
     19 
     20 #undef RIGHT_SHIFT_IS_UNSIGNED
     21 
     22 #define USE_MSDOS_MEMMGR	/* Define this if you use jmemdos.c */
     23 
     24 #define MAX_ALLOC_CHUNK 65520L	/* Maximum request to malloc() */
     25 
     26 #define USE_FMEM		/* Microsoft has _fmemcpy() and _fmemset() */
     27 
     28 #define NEED_FHEAPMIN		/* far heap management routines are broken */
     29 
     30 #define SHORTxLCONST_32		/* enable compiler-specific DCT optimization */
     31 /* Note: the above define is known to improve the code with Microsoft C 6.00A.
     32  * I do not know whether it is good for later compiler versions.
     33  * Please report any info on this point to jpeg-info (at) uunet.uu.net.
     34  */
     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		/* Microsoft has setmode() */
     48 #define NEED_SIGNAL_CATCHER	/* Define this if you use jmemdos.c */
     49 #undef DONT_USE_B_MODE
     50 #undef PROGRESS_REPORT		/* optional */
     51 
     52 #endif /* JPEG_CJPEG_DJPEG */
     53