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.

95 lines
2.5 KiB

  1. /* jconfig.h. Generated automatically by configure. */
  2. /* jconfig.cfg --- source file edited by configure script */
  3. /* see jconfig.doc for explanations */
  4. #if defined (sun) || defined (aix)
  5. #pragma ident "@(#)jconfig.h 1.11 14:32:24 07/17/97"
  6. #else
  7. /* SCCSID = "@(#)jconfig.h 1.8 14:59:06 06/20/96" */
  8. #endif
  9. /* force NIFTY support to be compiled in. */
  10. #ifndef NIFTY
  11. #define NIFTY 1
  12. #endif
  13. #ifdef WIN32
  14. // Start of specials for building in the Win32 environment
  15. typedef unsigned char boolean; // This has to match the typedef in the
  16. // Microsoft Development Environment
  17. #ifndef MAX_ALLOC_CHUNK
  18. #define MAX_ALLOC_CHUNK 65528L
  19. #endif
  20. #define USE_MSDOS_MEMMGR
  21. #define NO_MKTEMP
  22. #define far
  23. // End of specials for building in the Win32 environment
  24. #endif
  25. #define HAVE_PROTOTYPES
  26. #define HAVE_UNSIGNED_CHAR
  27. #define HAVE_UNSIGNED_SHORT
  28. #undef void
  29. // rgvb
  30. // #define const
  31. #undef CHAR_IS_UNSIGNED
  32. #define HAVE_STDDEF_H
  33. #define HAVE_STDLIB_H
  34. #undef NEED_BSD_STRINGS
  35. #undef NEED_SYS_TYPES_H
  36. #undef NEED_FAR_POINTERS
  37. #undef NEED_SHORT_EXTERNAL_NAMES
  38. /* Define this if you get warnings about undefined structures. */
  39. #undef INCOMPLETE_TYPES_BROKEN
  40. #ifdef JPEG_INTERNALS
  41. #undef RIGHT_SHIFT_IS_UNSIGNED
  42. #define INLINE
  43. /* These are for configuring the JPEG memory manager. */
  44. #undef DEFAULT_MAX_MEM
  45. #undef NO_MKTEMP
  46. #ifdef NIFTY
  47. // rgvb. override the default DCT method.
  48. // specify the DCT method to use. We have several choices:
  49. // JDCT_ISLOW: slow but accurate integer algorithm
  50. // JDCT_IFAST: faster, less accurate integer method
  51. // JDCT_FLOAT: floating-point method
  52. // JDCT_DEFAULT: default method (normally JDCT_ISLOW)
  53. // JDCT_FASTEST: fastest method (normally JDCT_IFAST)
  54. //
  55. // since our major customers are on Suns, we will use JDCT_FLOAT,
  56. // as it's fast on both the Sun and Mac. It's probably good
  57. // on a 486 DX or Pentium as well.
  58. #if defined(sun) || defined(macintosh) || defined(WIN32) || defined (aix)
  59. #define JDCT_DEFAULT JDCT_FLOAT
  60. #endif
  61. #endif /* NIFTY */
  62. #endif /* JPEG_INTERNALS */
  63. #ifdef JPEG_CJPEG_DJPEG
  64. #define BMP_SUPPORTED /* BMP image file format */
  65. #define GIF_SUPPORTED /* GIF image file format */
  66. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  67. #undef RLE_SUPPORTED /* Utah RLE image file format */
  68. #define TARGA_SUPPORTED /* Targa image file format */
  69. #undef TWO_FILE_COMMANDLINE
  70. #undef NEED_SIGNAL_CATCHER
  71. #define DONT_USE_B_MODE
  72. /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
  73. #undef PROGRESS_REPORT
  74. #endif /* JPEG_CJPEG_DJPEG */