Make GTK compile with HAVE_PCAP_REMOTE on macOS with clang-800.0.42.1.

Change-Id: I36bf1e39541fc55bc315f12f56dfd7ed7e0cc207
Reviewed-on: https://code.wireshark.org/review/20632
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-03-19 11:01:04 -07:00
parent c87cf1a81a
commit 0fdbaa4f18
1 changed files with 4 additions and 0 deletions

View File

@ -1076,6 +1076,7 @@ struct iftype_info {
const char *name;
};
#if 0
/* List of available types of PCAP interface */
static struct iftype_info iftype[] = {
{ CAPTURE_IFLOCAL, "Local" },
@ -1083,6 +1084,9 @@ static struct iftype_info iftype[] = {
};
#define REMOTE_HOST_START ((sizeof(iftype) / sizeof(iftype[0])) + 1)
#else
#define REMOTE_HOST_START 3
#endif
#define REMOTE_HOST_SEPARATOR "---"
static void