office-gobmx/external/libjpeg-turbo/jconfigint.h
Caolán McNamara 1295f497e0 upgrade libjpeg-turbo to 2.1.1
simd enabled for x86_64 and x86, arm/aarch64 might be worth exploring
too

Change-Id: Ic2726ee8c6b6e59ca983b977ee2731f5b78b97d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123898
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-30 11:06:48 +02:00

51 lines
1.2 KiB
C

#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