update credits
[LibreOffice.git] / external / libjpeg-turbo / jconfigint.h
blobb7644cbac90e086f46b6e5f6401704d660f9b1b0
1 #include <sal/types.h>
3 /* libjpeg-turbo build number */
4 #define BUILD "20230315"
6 /* Compiler's inline keyword */
7 #undef inline
9 /* How to obtain function inlining. */
10 #if defined _MSC_VER
11 #define INLINE __forceinline
12 #elif defined __GNUC__
13 #define INLINE __attribute__((always_inline)) inline
14 #else
15 #define INLINE inline
16 #endif
18 /* Define to the full name of this package. */
19 #define PACKAGE_NAME "libjpeg-turbo"
21 /* Version number of package */
22 #define VERSION "2.1.5.1"
24 /* The size of `size_t', as computed by sizeof. */
25 /* #undef SIZEOF_SIZE_T */
27 /* How to obtain thread-local storage */
28 #define THREAD_LOCAL
30 #if defined(__GNUC__) && SAL_TYPES_SIZEOFLONG == SIZEOF_SIZE_T
31 /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
32 #define HAVE_BUILTIN_CTZL
33 #endif
35 /* Define to 1 if you have the <intrin.h> header file. */
36 /* #undef HAVE_INTRIN_H */
38 #if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
39 #if (SIZEOF_SIZE_T == 8)
40 #define HAVE_BITSCANFORWARD64
41 #elif (SIZEOF_SIZE_T == 4)
42 #define HAVE_BITSCANFORWARD
43 #endif
44 #endif
46 #if defined(__has_attribute)
47 #if __has_attribute(fallthrough)
48 #define FALLTHROUGH __attribute__((fallthrough));
49 #else
50 #define FALLTHROUGH
51 #endif
52 #else
53 #define FALLTHROUGH
54 #endif