Clean up CMake header and type checks.
Unused macros: HAVE_DLFCN_H, HAVE_INTTYPES_H, HAVE_MEMORY_H,
HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_BYTESWAP_H,
HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H, HAVE_UNISTD_H.
Used but never set macros: HAVE_LIBLZF, HAVE_LIBQUICKLZ. These only gate
conditional includes. The code that takes advantage of them was removed.
Unused types: ssize_t.
The testing code uses HAVE_FUNC_MMAP, which was not wired in the CMake
build, causing a whole test to be skipped.
2017-07-25 21:45:04 +00:00
|
|
|
#ifndef THIRD_PARTY_SNAPPY_OPENSOURCE_CMAKE_CONFIG_H_
|
|
|
|
#define THIRD_PARTY_SNAPPY_OPENSOURCE_CMAKE_CONFIG_H_
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2020-04-13 19:47:34 +00:00
|
|
|
/* Define to 1 if the compiler supports __attribute__((always_inline)). */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_ATTRIBUTE_ALWAYS_INLINE
|
2020-04-13 19:47:34 +00:00
|
|
|
|
2017-04-26 11:24:58 +00:00
|
|
|
/* Define to 1 if the compiler supports __builtin_ctz and friends. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_BUILTIN_CTZ
|
2017-04-26 11:24:58 +00:00
|
|
|
|
|
|
|
/* Define to 1 if the compiler supports __builtin_expect. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_BUILTIN_EXPECT
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2023-04-11 03:48:20 +00:00
|
|
|
/* Define to 1 if the compiler supports __builtin_prefetch. */
|
|
|
|
#cmakedefine01 HAVE_BUILTIN_PREFETCH
|
|
|
|
|
Clean up CMake header and type checks.
Unused macros: HAVE_DLFCN_H, HAVE_INTTYPES_H, HAVE_MEMORY_H,
HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_BYTESWAP_H,
HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H, HAVE_UNISTD_H.
Used but never set macros: HAVE_LIBLZF, HAVE_LIBQUICKLZ. These only gate
conditional includes. The code that takes advantage of them was removed.
Unused types: ssize_t.
The testing code uses HAVE_FUNC_MMAP, which was not wired in the CMake
build, causing a whole test to be skipped.
2017-07-25 21:45:04 +00:00
|
|
|
/* Define to 1 if you have a definition for mmap() in <sys/mman.h>. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_FUNC_MMAP
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2017-08-02 16:43:03 +00:00
|
|
|
/* Define to 1 if you have a definition for sysconf() in <unistd.h>. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_FUNC_SYSCONF
|
2017-08-02 16:43:03 +00:00
|
|
|
|
2017-04-26 11:24:58 +00:00
|
|
|
/* Define to 1 if you have the `lzo2' library (-llzo2). */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_LIBLZO2
|
2017-04-26 11:24:58 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `z' library (-lz). */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_LIBZ
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2020-11-19 13:42:42 +00:00
|
|
|
/* Define to 1 if you have the `lz4' library (-llz4). */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_LIBLZ4
|
2020-11-19 13:42:42 +00:00
|
|
|
|
2017-04-26 11:24:58 +00:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_SYS_MMAN_H
|
2017-04-26 11:24:58 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_SYS_RESOURCE_H
|
2017-04-26 11:24:58 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_SYS_TIME_H
|
2017-04-26 11:24:58 +00:00
|
|
|
|
Clean up CMake header and type checks.
Unused macros: HAVE_DLFCN_H, HAVE_INTTYPES_H, HAVE_MEMORY_H,
HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_BYTESWAP_H,
HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H, HAVE_UNISTD_H.
Used but never set macros: HAVE_LIBLZF, HAVE_LIBQUICKLZ. These only gate
conditional includes. The code that takes advantage of them was removed.
Unused types: ssize_t.
The testing code uses HAVE_FUNC_MMAP, which was not wired in the CMake
build, causing a whole test to be skipped.
2017-07-25 21:45:04 +00:00
|
|
|
/* Define to 1 if you have the <sys/uio.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_SYS_UIO_H
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2017-08-02 16:43:03 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_UNISTD_H
|
2017-08-02 16:43:03 +00:00
|
|
|
|
2017-04-26 11:24:58 +00:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 HAVE_WINDOWS_H
|
2017-04-26 11:24:58 +00:00
|
|
|
|
2018-08-08 21:41:36 +00:00
|
|
|
/* Define to 1 if you target processors with SSSE3+ and have <tmmintrin.h>. */
|
|
|
|
#cmakedefine01 SNAPPY_HAVE_SSSE3
|
|
|
|
|
2022-11-03 20:36:33 +00:00
|
|
|
/* Define to 1 if you target processors with SSE4.2 and have <crc32intrin.h>. */
|
|
|
|
#cmakedefine01 SNAPPY_HAVE_X86_CRC32
|
|
|
|
|
2019-01-08 14:06:34 +00:00
|
|
|
/* Define to 1 if you target processors with BMI2+ and have <bmi2intrin.h>. */
|
|
|
|
#cmakedefine01 SNAPPY_HAVE_BMI2
|
|
|
|
|
2021-07-09 08:59:45 +00:00
|
|
|
/* Define to 1 if you target processors with NEON and have <arm_neon.h>. */
|
|
|
|
#cmakedefine01 SNAPPY_HAVE_NEON
|
|
|
|
|
2022-11-03 20:36:33 +00:00
|
|
|
/* Define to 1 if you have <arm_neon.h> and <arm_acle.h> and want to optimize
|
|
|
|
compression speed by using __crc32cw from <arm_acle.h>. */
|
|
|
|
#cmakedefine01 SNAPPY_HAVE_NEON_CRC32
|
|
|
|
|
2017-08-16 19:38:06 +00:00
|
|
|
/* Define to 1 if your processor stores words with the most significant byte
|
|
|
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
2021-08-16 18:22:31 +00:00
|
|
|
#cmakedefine01 SNAPPY_IS_BIG_ENDIAN
|
2017-04-26 11:24:58 +00:00
|
|
|
|
Clean up CMake header and type checks.
Unused macros: HAVE_DLFCN_H, HAVE_INTTYPES_H, HAVE_MEMORY_H,
HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_BYTESWAP_H,
HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H, HAVE_UNISTD_H.
Used but never set macros: HAVE_LIBLZF, HAVE_LIBQUICKLZ. These only gate
conditional includes. The code that takes advantage of them was removed.
Unused types: ssize_t.
The testing code uses HAVE_FUNC_MMAP, which was not wired in the CMake
build, causing a whole test to be skipped.
2017-07-25 21:45:04 +00:00
|
|
|
#endif // THIRD_PARTY_SNAPPY_OPENSOURCE_CMAKE_CONFIG_H_
|