jconfig.vc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 9x or NT.
  2. * This file also works for Borland/Embarcadero C++ for Win32 or Win64
  3. * (CLI: bcc32, bcc32c, bcc32x, bcc64; GUI IDE: C++Builder/RAD Studio).
  4. * See jconfig.txt for explanations.
  5. */
  6. #define HAVE_PROTOTYPES
  7. #define HAVE_UNSIGNED_CHAR
  8. #define HAVE_UNSIGNED_SHORT
  9. /* #define void char */
  10. /* #define const */
  11. #undef CHAR_IS_UNSIGNED
  12. #define HAVE_STDDEF_H
  13. #define HAVE_STDLIB_H
  14. #undef NEED_BSD_STRINGS
  15. #undef NEED_SYS_TYPES_H
  16. #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
  17. #undef NEED_SHORT_EXTERNAL_NAMES
  18. #undef INCOMPLETE_TYPES_BROKEN
  19. /* Define "boolean" as unsigned char, not enum, per Windows custom */
  20. #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
  21. typedef unsigned char boolean;
  22. #endif
  23. #ifndef FALSE /* in case these macros already exist */
  24. #define FALSE 0 /* values of boolean */
  25. #endif
  26. #ifndef TRUE
  27. #define TRUE 1
  28. #endif
  29. #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
  30. /* Define custom RGB color order, prevent jmorecfg.h from redefinition */
  31. #undef JPEG_HAVE_RGB_CUSTOM
  32. /* Use Windows custom BGR color order defined in jmorecfg.h */
  33. #undef JPEG_USE_RGB_CUSTOM
  34. /* Define custom file I/O functions, prevent jinclude.h from redefinition */
  35. #undef JPEG_HAVE_FILE_IO_CUSTOM
  36. /* Use Delphi custom file I/O functions defined in jinclude.h */
  37. #undef JPEG_USE_FILE_IO_CUSTOM
  38. #ifdef JPEG_INTERNALS
  39. #undef RIGHT_SHIFT_IS_UNSIGNED
  40. #endif /* JPEG_INTERNALS */
  41. #ifdef JPEG_CJPEG_DJPEG
  42. #define BMP_SUPPORTED /* BMP image file format */
  43. #define GIF_SUPPORTED /* GIF image file format */
  44. #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
  45. #undef RLE_SUPPORTED /* Utah RLE image file format */
  46. #define TARGA_SUPPORTED /* Targa image file format */
  47. #define TWO_FILE_COMMANDLINE /* optional */
  48. #define USE_SETMODE /* Microsoft/Borland/Embarcadero have setmode() */
  49. #undef NEED_SIGNAL_CATCHER
  50. #undef DONT_USE_B_MODE
  51. #undef PROGRESS_REPORT /* optional */
  52. #endif /* JPEG_CJPEG_DJPEG */