jconfig.bcc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
  2. /* see jconfig.txt 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. #ifdef __MSDOS__
  14. #define NEED_FAR_POINTERS /* for small or medium memory model */
  15. #endif
  16. #undef NEED_SHORT_EXTERNAL_NAMES
  17. #undef INCOMPLETE_TYPES_BROKEN /* this assumes you have -w-stu in CFLAGS */
  18. #ifdef JPEG_INTERNALS
  19. #undef RIGHT_SHIFT_IS_UNSIGNED
  20. #ifdef __MSDOS__
  21. #define USE_MSDOS_MEMMGR /* Define this if you use jmemdos.c */
  22. #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
  23. #define USE_FMEM /* Borland has _fmemcpy() and _fmemset() */
  24. #endif
  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
  33. #define USE_SETMODE /* Borland has setmode() */
  34. #ifdef __MSDOS__
  35. #define NEED_SIGNAL_CATCHER /* Define this if you use jmemdos.c */
  36. #endif
  37. #undef DONT_USE_B_MODE
  38. #undef PROGRESS_REPORT /* optional */
  39. #endif /* JPEG_CJPEG_DJPEG */