jconfig.gcc.linux.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. #ifndef __JCONFIG_GCC_LINUX_H
  2. #define __JCONFIG_GCC_LINUX_H
  3. #include <stdlib.h>
  4. #define jpeg_size_t size_t
  5. /*
  6. * These symbols indicate the properties of your machine or compiler.
  7. * #define the symbol if yes, #undef it if no.
  8. */
  9. /* Does your compiler support function prototypes?
  10. * (If not, you also need to use ansi2knr, see install.doc)
  11. */
  12. #define HAVE_PROTOTYPES
  13. /* Does your compiler support the declaration "unsigned char" ?
  14. * How about "unsigned short" ?
  15. */
  16. #define HAVE_UNSIGNED_CHAR
  17. #define HAVE_UNSIGNED_SHORT
  18. /* Define "void" as "char" if your compiler doesn't know about type void.
  19. * NOTE: be sure to define void such that "void *" represents the most general
  20. * pointer type, e.g., that returned by malloc().
  21. */
  22. /* #define void char */
  23. /* Define "const" as empty if your compiler doesn't know the "const" keyword.
  24. */
  25. /* #define const */
  26. /* Define this if an ordinary "char" type is unsigned.
  27. * If you're not sure, leaving it undefined will work at some cost in speed.
  28. * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
  29. */
  30. #undef CHAR_IS_UNSIGNED
  31. /* Define this if your system has an ANSI-conforming <stddef.h> file.
  32. */
  33. #define HAVE_STDDEF_H
  34. /* Define this if your system has an ANSI-conforming <stdlib.h> file.
  35. */
  36. #define HAVE_STDLIB_H
  37. /* Define this if your system does not have an ANSI/SysV <string.h>,
  38. * but does have a BSD-style <strings.h>.
  39. */
  40. #undef NEED_BSD_STRINGS
  41. /* Define this if your system does not provide typedef size_t in any of the
  42. * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
  43. * <sys/types.h> instead.
  44. */
  45. #undef NEED_SYS_TYPES_H
  46. /* For 80x86 machines, you need to define NEED_FAR_POINTERS,
  47. * unless you are using a large-data memory model or 80386 flat-memory mode.
  48. * On less brain-damaged CPUs this symbol must not be defined.
  49. * (Defining this symbol causes large data structures to be referenced through
  50. * "far" pointers and to be allocated with a special version of malloc.)
  51. */
  52. #undef NEED_FAR_POINTERS
  53. /* Define this if your linker needs global names to be unique in less
  54. * than the first 15 characters.
  55. */
  56. #undef NEED_SHORT_EXTERNAL_NAMES
  57. /* Although a real ANSI C compiler can deal perfectly well with pointers to
  58. * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
  59. * and pseudo-ANSI compilers get confused. To keep one of these bozos happy,
  60. * define INCOMPLETE_TYPES_BROKEN. This is not recommended unless you
  61. * actually get "missing structure definition" warnings or errors while
  62. * compiling the JPEG code.
  63. */
  64. #undef INCOMPLETE_TYPES_BROKEN
  65. /*
  66. * The following options affect code selection within the JPEG library,
  67. * but they don't need to be visible to applications using the library.
  68. * To minimize application namespace pollution, the symbols won't be
  69. * defined unless JPEG_INTERNALS has been defined.
  70. */
  71. #ifdef JPEG_INTERNALS
  72. /* Define this if your compiler implements ">>" on signed values as a logical
  73. * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
  74. * which is the normal and rational definition.
  75. */
  76. #undef RIGHT_SHIFT_IS_UNSIGNED
  77. #endif /* JPEG_INTERNALS */
  78. #endif