summaryrefslogtreecommitdiffstats
path: root/external/libjpeg-turbo/jconfigint.h
blob: 478a4d338b3065f45a2ba83606f6154019fbe4fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include <sal/types.h>

/* libjpeg-turbo build number */
#define BUILD "20211020"

/* Compiler's inline keyword */
#undef inline

/* How to obtain function inlining. */
#if defined _MSC_VER
#define INLINE __forceinline
#elif defined __GNUC__
#define INLINE __attribute__((always_inline)) inline
#else
#define INLINE inline
#endif

/* Define to the full name of this package. */
#define PACKAGE_NAME "libjpeg-turbo"

/* Version number of package */
#define VERSION "2.1.1"

/* The size of `size_t', as computed by sizeof. */
/* #undef SIZEOF_SIZE_T */

#if defined(__GNUC__) && SAL_TYPES_SIZEOFLONG == SIZEOF_SIZE_T
/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
#define HAVE_BUILTIN_CTZL
#endif

/* Define to 1 if you have the <intrin.h> header file. */
/* #undef HAVE_INTRIN_H */

#if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
#if (SIZEOF_SIZE_T == 8)
#define HAVE_BITSCANFORWARD64
#elif (SIZEOF_SIZE_T == 4)
#define HAVE_BITSCANFORWARD
#endif
#endif

#if defined(__has_attribute)
#if __has_attribute(fallthrough)
#define FALLTHROUGH __attribute__((fallthrough));
#else
#define FALLTHROUGH
#endif
#else
#define FALLTHROUGH
#endif