mingw_ipv6.patch
application/octet-stream
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/backend/libpq/auth.c | 8 | 0 |
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 99d97b4..11f2d34 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -2507,6 +2507,14 @@ radius_add_attribute(radius_packet *packet, uint8 type, const unsigned char *dat
packet->length += attr->length;
}
+/*
+ * MingW defines an extern to this struct, but the actual struct isn't present
+ * in any library. It's trivial enough that we can safely defined it
+ * ourselves.
+ */
+#if defined(WIN32) && !defined(WIN32_ONLY_COMPILER)
+static const struct in6_addr in6addr_any = {{{0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}}};
+#endif
static int
CheckRADIUSAuth(Port *port)
{