no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / media / libjpeg / jconfigint.h
blob5a1f305f30b3b6374647381dd0cf5aa64c992c5a
1 /* libjpeg-turbo build number */
2 #define BUILD "20230208"
4 /* Need to use Mozilla-specific function inlining. */
5 #include "mozilla/Attributes.h"
6 #define INLINE MOZ_ALWAYS_INLINE
8 /* How to obtain thread-local storage */
9 #if defined(_MSC_VER)
10 #define THREAD_LOCAL __declspec(thread)
11 #else
12 #define THREAD_LOCAL __thread
13 #endif
15 /* Define to the full name of this package. */
16 #define PACKAGE_NAME "libjpeg-turbo"
18 /* Version number of package */
19 #define VERSION "2.1.5.1"
21 /* The size of `size_t', as computed by sizeof. */
22 #ifdef HAVE_64BIT_BUILD
23 #define SIZEOF_SIZE_T 8
24 #else
25 #define SIZEOF_SIZE_T 4
26 #endif
28 /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
29 #ifndef _MSC_VER
30 #define HAVE_BUILTIN_CTZL 1
31 #endif
33 /* Define to 1 if you have the <intrin.h> header file. */
34 #ifdef _MSC_VER
35 #define HAVE_INTRIN_H 1
36 #endif
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