jconfigint.h.in 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* libjpeg-turbo build number */
  2. #define BUILD "@BUILD@"
  3. /* Compiler's inline keyword */
  4. #undef inline
  5. /* How to obtain function inlining. */
  6. #ifndef INLINE
  7. #if defined(__GNUC__)
  8. #define INLINE inline __attribute__((always_inline))
  9. #elif defined(_MSC_VER)
  10. #define INLINE __forceinline
  11. #else
  12. #define INLINE
  13. #endif
  14. #endif
  15. /* How to obtain thread-local storage */
  16. #define THREAD_LOCAL @THREAD_LOCAL@
  17. /* Define to the full name of this package. */
  18. #define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
  19. /* Version number of package */
  20. #define VERSION "@VERSION@"
  21. /* The size of `size_t', as computed by sizeof. */
  22. #define SIZEOF_SIZE_T @SIZEOF_SIZE_T@
  23. /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
  24. #cmakedefine HAVE_BUILTIN_CTZL
  25. /* Define to 1 if you have the <intrin.h> header file. */
  26. #cmakedefine HAVE_INTRIN_H
  27. #if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
  28. #if (SIZEOF_SIZE_T == 8)
  29. #define HAVE_BITSCANFORWARD64
  30. #elif (SIZEOF_SIZE_T == 4)
  31. #define HAVE_BITSCANFORWARD
  32. #endif
  33. #endif
  34. #if defined(__has_attribute)
  35. #if __has_attribute(fallthrough)
  36. #define FALLTHROUGH __attribute__((fallthrough));
  37. #else
  38. #define FALLTHROUGH
  39. #endif
  40. #else
  41. #define FALLTHROUGH
  42. #endif