blob: 4f23dffb008b66ad976de4a57236fbd4051f91a5 [file] [log] [blame]
Tom Hudson0d47d2d2016-05-04 13:22:56 -04001/* libjpeg-turbo build number */
Jonathan Wright24e31052021-04-26 12:10:48 +01002#define BUILD ""
Tom Hudson0d47d2d2016-05-04 13:22:56 -04003
Chris Blumecca8c4d2019-03-01 01:09:50 -08004/* Compiler's inline keyword */
5#undef inline
6
Tom Hudson0d47d2d2016-05-04 13:22:56 -04007/* How to obtain function inlining. */
8#ifndef INLINE
Noel Gordon9fee17f2016-05-06 00:32:29 +10009#if defined(__GNUC__)
Jonathan Wright24e31052021-04-26 12:10:48 +010010#define INLINE inline __attribute__((always_inline))
Noel Gordon9fee17f2016-05-06 00:32:29 +100011#elif defined(_MSC_VER)
Jonathan Wright24e31052021-04-26 12:10:48 +010012#define INLINE __forceinline
Noel Gordon9fee17f2016-05-06 00:32:29 +100013#else
14#define INLINE
15#endif
Tom Hudson0d47d2d2016-05-04 13:22:56 -040016#endif
17
Jonathan Wrightdb870df2020-08-05 11:42:22 +010018/* How to obtain thread-local storage */
19#if defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))
20#define THREAD_LOCAL __declspec(thread)
21#else
Jonathan Wright24e31052021-04-26 12:10:48 +010022#define THREAD_LOCAL __thread
Jonathan Wrightdb870df2020-08-05 11:42:22 +010023#endif
24
Tom Hudson0d47d2d2016-05-04 13:22:56 -040025/* Define to the full name of this package. */
Jonathan Wright24e31052021-04-26 12:10:48 +010026#define PACKAGE_NAME "libjpeg-turbo"
Tom Hudson0d47d2d2016-05-04 13:22:56 -040027
28/* Version number of package */
Jonathan Wright24e31052021-04-26 12:10:48 +010029#define VERSION "2.1.0"
Tom Hudson0d47d2d2016-05-04 13:22:56 -040030
31/* The size of `size_t', as computed by sizeof. */
32#if __WORDSIZE==64 || defined(_WIN64)
Jonathan Wright24e31052021-04-26 12:10:48 +010033#define SIZEOF_SIZE_T 8
Tom Hudson0d47d2d2016-05-04 13:22:56 -040034#else
Jonathan Wright24e31052021-04-26 12:10:48 +010035#define SIZEOF_SIZE_T 4
Tom Hudson0d47d2d2016-05-04 13:22:56 -040036#endif
Chris Blumecca8c4d2019-03-01 01:09:50 -080037
38/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
39#if defined(__GNUC__)
40#define HAVE_BUILTIN_CTZL
41#endif
42
43/* Define to 1 if you have the <intrin.h> header file. */
44#if defined(_MSC_VER)
Jonathan Wright24e31052021-04-26 12:10:48 +010045#define HAVE_INTRIN_H 1
Chris Blumecca8c4d2019-03-01 01:09:50 -080046#endif
47
48#if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
49#if (SIZEOF_SIZE_T == 8)
50#define HAVEBITSCANFORWARD64
51#elif (SIZEOF_SIZE_T == 4)
52#define HAVEBITSCANFORWARD
53#endif
54#endif