aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
-rw-r--r--cmakeconfig.h.in2
-rw-r--r--epan/geoip_db.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 70cec35044..66e4adc7f4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1163,7 +1163,7 @@ AC_DEFUN([AC_WIRESHARK_GEOIP_CHECK],
)
AC_CHECK_LIB(GeoIP, GeoIP_free,
[
- AC_DEFINE(HAVE_GEOIP_FREE, 1, [Define if GeoIP has GeoIP_free (not available upstream with 1.6.10 or earlier)])
+ AC_DEFINE(HAVE_GEOIP_FREE, 1, [Define if GeoIP has GeoIP_free])
],,
)
fi
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index ec715cef29..aee8a4a494 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -68,7 +68,7 @@
/* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
#cmakedefine HAVE_GEOIP_V6 1
-/* Define if GeoIP has GeoIP_free (not available upstream with 1.6.10 or earlier) */
+/* Define if GeoIP has GeoIP_free */
#cmakedefine HAVE_GEOIP_FREE 1
/* Define to 1 if you have the <ifaddrs.h> header file. */
diff --git a/epan/geoip_db.c b/epan/geoip_db.c
index 923a4fb2ae..164dec0496 100644
--- a/epan/geoip_db.c
+++ b/epan/geoip_db.c
@@ -48,6 +48,10 @@
/* This needs to match NUM_GEOIP_COLS in hostlist_table.h */
#define MAX_GEOIP_DBS 13
+/*
+ * GeoIP_free is patched into our GeoIP distribution on Windows.
+ * See bug 13598.
+ */
#ifndef HAVE_GEOIP_FREE
#define GeoIP_free free
#endif