jconfig.vc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 9x or NT. */
  2. /* This file also works for Borland C++ 32-bit (bcc32) on Windows 9x or NT. */
  3. /* see jconfig.txt for explanations */
  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. #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
  15. #undef NEED_SHORT_EXTERNAL_NAMES
  16. #undef INCOMPLETE_TYPES_BROKEN
  17. /* Define "boolean" as unsigned char, not enum, per Windows custom */
  18. #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
  19. typedef unsigned char boolean;
  20. #endif
  21. #ifndef FALSE /* in case these macros already exist */
  22. #define FALSE 0 /* values of boolean */
  23. #endif
  24. #ifndef TRUE
  25. #define TRUE 1
  26. #endif
  27. #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
  28. #ifdef JPEG_INTERNALS
  29. #undef RIGHT_SHIFT_IS_UNSIGNED
  30. #endif /* JPEG_INTERNALS */
  31. #ifdef JPEG_CJPEG_DJPEG
  32. #define BMP_SUPPORTED /* BMP image file format */
  33. #define GIF_SUPPORTED /* GIF image file format */
  34. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  35. #undef RLE_SUPPORTED /* Utah RLE image file format */
  36. #define TARGA_SUPPORTED /* Targa image file format */
  37. #define TWO_FILE_COMMANDLINE /* optional */
  38. #define USE_SETMODE /* Microsoft has setmode() */
  39. #undef NEED_SIGNAL_CATCHER
  40. #undef DONT_USE_B_MODE
  41. #undef PROGRESS_REPORT /* optional */
  42. #endif /* JPEG_CJPEG_DJPEG */