opj_config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* for BLENDER - we hand-maintain this,
  2. * for the original OpenJpeg package it is generated,
  3. * the endian check is a blender define */
  4. /* create config.h for CMake */
  5. #define PACKAGE_VERSION "1.5.2"
  6. #define HAVE_INTTYPES_H
  7. #define HAVE_MEMORY_H
  8. #define HAVE_STDINT_H
  9. #define HAVE_STDLIB_H
  10. #define HAVE_STRINGS_H
  11. #define HAVE_STRING_H
  12. #define HAVE_SYS_STAT_H
  13. #define HAVE_SYS_TYPES_H
  14. #define HAVE_UNISTD_H
  15. /* #define HAVE_LIBPNG */
  16. /* #define HAVE_PNG_H */
  17. /* #define HAVE_LIBTIFF */
  18. /* #define HAVE_TIFF_H */
  19. /* #undef HAVE_LIBLCMS1 */
  20. /* #undef HAVE_LIBLCMS2 */
  21. /* #undef HAVE_LCMS1_H */
  22. /* #undef HAVE_LCMS2_H */
  23. /* #undef USE_SYSTEM_GETOPT */
  24. /* Byte order. */
  25. /* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
  26. __LITTLE_ENDIAN__ to match the endianness of the architecture being
  27. compiled for. This is not necessarily the same as the architecture of the
  28. machine doing the building. In order to support Universal Binaries on
  29. Mac OS X, we prefer those defines to decide the endianness.
  30. On other platforms we use the result of the TRY_RUN. */
  31. #if defined(__BIG_ENDIAN__)
  32. # define OPJ_BIG_ENDIAN
  33. #else
  34. # undef OPJ_BIG_ENDIAN
  35. #endif