JCONFIG.h
上传用户:qiutianh
上传日期:2022-08-08
资源大小:939k
文件大小:3k
源码类别:

图形图象

开发平台:

Visual C++

  1. ////////////////////////////////////////////////////////////////////////
  2. //
  3. // Note : this file is included as part of the Smaller Animals Software
  4. // JpegFile package. Though this file has not been modified from it's 
  5. // original IJG 6a form, it is not the responsibility on the Independent
  6. // JPEG Group to answer questions regarding this code.
  7. //
  8. // Any questions you have about this code should be addressed to :
  9. //
  10. // CHRISDL@PAGESZ.NET - the distributor of this package.
  11. //
  12. // Remember, by including this code in the JpegFile package, Smaller 
  13. // Animals Software assumes all responsibilities for answering questions
  14. // about it. If we (SA Software) can't answer your questions ourselves, we 
  15. // will direct you to people who can.
  16. //
  17. // Thanks, CDL.
  18. //
  19. ////////////////////////////////////////////////////////////////////////
  20. /* jconfig.mc6 --- jconfig.h for Microsoft C on MS-DOS, version 6.00A & up. */
  21. /* see jconfig.doc for explanations */
  22. #define HAVE_PROTOTYPES
  23. #define HAVE_UNSIGNED_CHAR
  24. #define HAVE_UNSIGNED_SHORT
  25. /* #define void char */
  26. /* #define const */
  27. #undef CHAR_IS_UNSIGNED
  28. #define HAVE_STDDEF_H
  29. #define HAVE_STDLIB_H
  30. #undef NEED_BSD_STRINGS
  31. #undef NEED_SYS_TYPES_H
  32. //#define NEED_FAR_POINTERS /* for small or medium memory model */
  33. #undef NEED_FAR_POINTERS /* for small or medium memory model */
  34. #undef NEED_SHORT_EXTERNAL_NAMES
  35. #undef INCOMPLETE_TYPES_BROKEN
  36. #ifdef JPEG_INTERNALS
  37. #undef RIGHT_SHIFT_IS_UNSIGNED
  38. #define USE_MSDOS_MEMMGR /* Define this if you use jmemdos.c */
  39. #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
  40. #define USE_FMEM /* Microsoft has _fmemcpy() and _fmemset() */
  41. #define NEED_FHEAPMIN /* far heap management routines are broken */
  42. #define SHORTxLCONST_32 /* enable compiler-specific DCT optimization */
  43. /* Note: the above define is known to improve the code with Microsoft C 6.00A.
  44.  * I do not know whether it is good for later compiler versions.
  45.  * Please report any info on this point to jpeg-info@uunet.uu.net.
  46.  */
  47. #endif /* JPEG_INTERNALS */
  48. #ifdef JPEG_CJPEG_DJPEG
  49. #define BMP_SUPPORTED /* BMP image file format */
  50. #define GIF_SUPPORTED /* GIF image file format */
  51. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  52. #undef RLE_SUPPORTED /* Utah RLE image file format */
  53. #define TARGA_SUPPORTED /* Targa image file format */
  54. #define TWO_FILE_COMMANDLINE
  55. #define USE_SETMODE /* Microsoft has setmode() */
  56. #define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
  57. #undef DONT_USE_B_MODE
  58. #undef PROGRESS_REPORT /* optional */
  59. #endif /* JPEG_CJPEG_DJPEG */