Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.0 KiB

  1. /* jconfig.mc6 --- jconfig.h for Microsoft C on MS-DOS, version 6.00A & up. */
  2. /* see jconfig.doc for explanations */
  3. // Support for MMx and NIFTY stuf added by Ajai Sehgal
  4. // Note: for Picture It! need default_max_mem of about 1Mb
  5. //#undef NIFTY
  6. #define NIFTY
  7. //MMx detection and multiplier setting
  8. extern int vfMMXMachine;
  9. #define MULTIPLIER short
  10. #define HAVE_PROTOTYPES
  11. #define HAVE_UNSIGNED_CHAR
  12. #define HAVE_UNSIGNED_SHORT
  13. /* #define void char */
  14. /* #define const */
  15. #undef CHAR_IS_UNSIGNED
  16. #define HAVE_STDDEF_H
  17. #define HAVE_STDLIB_H
  18. #undef NEED_BSD_STRINGS
  19. #undef NEED_SYS_TYPES_H
  20. //#define NEED_FAR_POINTERS /* for small or medium memory model */
  21. #undef NEED_SHORT_EXTERNAL_NAMES
  22. #undef INCOMPLETE_TYPES_BROKEN
  23. #ifdef JPEG_INTERNALS
  24. #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 MAX_ALLOC_CHUNK 1000000L /* Changed to LocalAlloc */
  28. #define DEFAULT_MAX_MEM 1000000
  29. #define USE_FMEM /* Microsoft has _fmemcpy() and _fmemset() */
  30. #define NEED_FHEAPMIN /* far heap management routines are broken */
  31. #define SHORTxLCONST_32 /* enable compiler-specific DCT optimization */
  32. /* Note: the above define is known to improve the code with Microsoft C 6.00A.
  33. * I do not know whether it is good for later compiler versions.
  34. * Please report any info on this point to jpeg-info@uunet.uu.net.
  35. */
  36. #endif /* JPEG_INTERNALS */
  37. #ifdef JPEG_CJPEG_DJPEG
  38. #define BMP_SUPPORTED /* BMP image file format */
  39. #define GIF_SUPPORTED /* GIF image file format */
  40. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  41. #undef RLE_SUPPORTED /* Utah RLE image file format */
  42. #define TARGA_SUPPORTED /* Targa image file format */
  43. #define TWO_FILE_COMMANDLINE
  44. #define USE_SETMODE /* Microsoft has setmode() */
  45. #define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
  46. #undef DONT_USE_B_MODE
  47. #undef PROGRESS_REPORT /* optional */
  48. #endif /* JPEG_CJPEG_DJPEG */