We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a51c94 + e695f1b commit e7367c2Copy full SHA for e7367c2
include/maxminddb.h
@@ -17,8 +17,6 @@ extern "C" {
17
#include <ws2tcpip.h>
18
/* libmaxminddb package version from configure */
19
20
-typedef ADDRESS_FAMILY sa_family_t;
21
-
22
#if defined(_MSC_VER)
23
/* MSVC doesn't define signed size_t, copy it from configure */
24
#define ssize_t SSIZE_T
src/maxminddb.c
@@ -23,6 +23,7 @@
#endif
#include <windows.h>
25
#include <ws2ipdef.h>
26
+typedef ADDRESS_FAMILY sa_family_t;
27
#else
28
#include <arpa/inet.h>
29
#include <sys/mman.h>
0 commit comments