// Also see: external/crc32c/src/crc32c_config.h.in #ifndef CRC32C_CRC32C_CONFIG_H_ #define CRC32C_CRC32C_CONFIG_H_ // From GHC #include #ifdef WORDS_BIGENDIAN // Define to 1 if building for a big-endian platform. #define BYTE_ORDER_BIG_ENDIAN 1 #else #define BYTE_ORDER_BIG_ENDIAN 0 #endif // Set by cabal flag 'have_builtin_prefetch' // // Define to 1 if the compiler has the __builtin_prefetch intrinsic. //#define HAVE_BUILTIN_PREFETCH 0 // Set by cabal flag 'have_mm_prefetch' // // Define to 1 if targeting X86 and the compiler has the _mm_prefetch intrinsic. //#define HAVE_MM_PREFETCH 0 // Set by cabal flag 'have_sse42' // // Define to 1 if targeting X86 and the compiler has the _mm_crc32_u{8,32,64} // intrinsics. //#define HAVE_SSE42 0 // Set by cabal flag 'have_arm64_crc32c' // // Define to 1 if targeting ARM and the compiler has the __crc32c{b,h,w,d} and // the vmull_p64 intrinsics. //#define HAVE_ARM64_CRC32C 0 // Set by cabal flag 'have_strong_getauxval' // // Define to 1 if the system libraries have the getauxval function in the // header. Should be true on Linux and Android API level 20+. //#define HAVE_STRONG_GETAUXVAL 0 // Set by cabal flag 'have_weak_getauxval' // // Define to 1 if the compiler supports defining getauxval as a weak symbol. // Should be true for any compiler that supports __attribute__((weak)). //#define HAVE_WEAK_GETAUXVAL 0 #endif // CRC32C_CRC32C_CONFIG_H_