We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ad3304 commit 25e4203Copy full SHA for 25e4203
2 files changed
Changes.md
@@ -1,3 +1,9 @@
1
+## 1.9.1
2
+
3
+* `SSIZE_MAX` is now defined conditionally on Windows. The 1.9.0
4
+ release would cause a redefinition warning when compiled with MinGW.
5
+ Reported by Andreas Vögele. GitHub #338.
6
7
## 1.9.0 - 2024-01-09
8
9
* On very large databases, the calculation to determine the search tree
src/maxminddb.c
@@ -23,7 +23,9 @@
23
#endif
24
#include <windows.h>
25
#include <ws2ipdef.h>
26
+#ifndef SSIZE_MAX
27
#define SSIZE_MAX INTPTR_MAX
28
+#endif
29
typedef ADDRESS_FAMILY sa_family_t;
30
#else
31
#include <arpa/inet.h>
0 commit comments