mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 05:31:37 +08:00
52b6604253
* update libpq and pass flags to msbuild * v db * readd patch for linux * v db * readd patch * v db * Update ports/libpq/patches/fix-configure.patch * v db * use #pragma x_macro * v db * CI retrigger
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,
|