mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 16:47:51 +08:00
2f56fdad4b
* [libpq] Install msys2 autoconf-archive * Install msys2 zic tool * Fix zstd patching * Always build as if cross compiling * Enable feature client for non-windows * Cleanup (WIP) * Cleanup (WIP) * Update portfile.cmake * WIP * WIP * WIP * WIP * [libxslt] Fix pc files * WIP * WIP: Test libpq[all] * WIP * Update to 15.3 * Move patches * Revert "WIP: Test libpq[all]" * Fix install * Skip import libs for plugins * Full CI
19 lines
566 B
Diff
19 lines
566 B
Diff
diff --git a/src/include/common/checksum_helper.h b/src/include/common/checksum_helper.h
|
|
index cac7570ea..d0ca1243c 100644
|
|
--- a/src/include/common/checksum_helper.h
|
|
+++ b/src/include/common/checksum_helper.h
|
|
@@ -33,7 +28,13 @@
|
|
*/
|
|
typedef enum pg_checksum_type
|
|
{
|
|
+#pragma push_macro("CHECKSUM_TYPE_NONE")
|
|
+#ifdef CHECKSUM_TYPE_NONE
|
|
+// winioctl.h defines CHECKSUM_TYPE_NONE to 0 as a macro.
|
|
+#undef CHECKSUM_TYPE_NONE
|
|
+#endif
|
|
CHECKSUM_TYPE_NONE,
|
|
+#pragma pop_macro("CHECKSUM_TYPE_NONE")
|
|
CHECKSUM_TYPE_CRC32C,
|
|
CHECKSUM_TYPE_SHA224,
|
|
CHECKSUM_TYPE_SHA256,
|