A future commit will move the CRC function choosing logic to the
file where the hardware-specific functions are defined, but until
then add guards for builds without those functions. Oversight in
commit
b9278871f.
Per buildfarm animal rhinoceros
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/
4014992.
1771963187@sss.pgh.pa.us
#include "port/pg_crc32c.h"
+#ifndef USE_SLICING_BY_8_CRC32C
+
/*
* Does XGETBV say the ZMM registers are enabled?
*
pg_crc32c (*pg_comp_crc32c) (pg_crc32c crc, const void *data, size_t len) = pg_comp_crc32c_choose;
+#endif
+
#endif /* defined(USE_SSE2) || defined(__i386__) */