jconfig.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
  2. /* see jconfig.doc for explanations */
  3. #define HAVE_PROTOTYPES
  4. #define HAVE_UNSIGNED_CHAR
  5. #define HAVE_UNSIGNED_SHORT
  6. /* #define void char */
  7. /* #define const */
  8. #undef CHAR_IS_UNSIGNED
  9. #define HAVE_STDDEF_H
  10. #define HAVE_STDLIB_H
  11. #undef NEED_BSD_STRINGS
  12. #undef NEED_SYS_TYPES_H
  13. #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
  14. #undef NEED_SHORT_EXTERNAL_NAMES
  15. #undef INCOMPLETE_TYPES_BROKEN
  16. #if 0
  17. /* Define "boolean" as unsigned char, not int, per Windows custom */
  18. typedef unsigned char boolean;
  19. #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
  20. #else
  21. #define boolean jboolean
  22. #endif
  23. #ifdef JPEG_INTERNALS
  24. #undef RIGHT_SHIFT_IS_UNSIGNED
  25. #endif /* JPEG_INTERNALS */
  26. #ifdef JPEG_CJPEG_DJPEG
  27. #define BMP_SUPPORTED /* BMP image file format */
  28. #define GIF_SUPPORTED /* GIF image file format */
  29. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  30. #undef RLE_SUPPORTED /* Utah RLE image file format */
  31. #define TARGA_SUPPORTED /* Targa image file format */
  32. #define TWO_FILE_COMMANDLINE /* optional */
  33. #define USE_SETMODE /* Microsoft has setmode() */
  34. #undef NEED_SIGNAL_CATCHER
  35. #undef DONT_USE_B_MODE
  36. #undef PROGRESS_REPORT /* optional */
  37. #endif /* JPEG_CJPEG_DJPEG */