pre_read fixes
[fio.git] / crc / crc32c.h
index 1498db91a4d072ec77d2ec9ef488b81bd861c1ba..0976261ac61832a9b36e1ab50a93b6c59b60d8f7 100644 (file)
 #ifndef CRC32C_H
 #define CRC32C_H
 
+#include "../arch/arch.h"
+
 extern uint32_t crc32c(unsigned char const *, unsigned long);
 
+#ifdef ARCH_HAVE_SSE
+extern uint32_t crc32c_intel(unsigned char const *, unsigned long);
+#else
+#define crc32c_intel crc32c
+#endif
+
 #endif