forked from osmocom/wireshark
Explain where GeoIP_free comes from
Change-Id: I0a354cde4587a041bdb1fa4147bd88eed24ceb76 Reviewed-on: https://code.wireshark.org/review/24356 Reviewed-by: João Valverde <j@v6e.pt>
This commit is contained in:
parent
8d9fbdf851
commit
9b93e7e5b2
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue