aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-10-22 14:16:53 +0100
committerJoão Valverde <j@v6e.pt>2017-10-22 22:28:21 +0000
commit6e3133c41ca760e9c3156f641236af54c7464c48 (patch)
tree32fd037ed7ed69c9164a2517156eede25ee710c4
parent182d9deb08125f9c595bcb32dcb28f745989d615 (diff)
AirPcap is Windows only, reflect that in about dialog
Change-Id: Iecde2ada76a63da47e80cf0188945dab2a7e5b89 Reviewed-on: https://code.wireshark.org/review/24023 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
-rw-r--r--ui/gtk/main.c2
-rw-r--r--wireshark-qt.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index e87816e384..854d2cc783 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -1851,12 +1851,14 @@ get_gui_compiled_info(GString *str)
g_string_append(str, "without PortAudio");
#endif /* HAVE_LIBPORTAUDIO */
+#ifdef _WIN32
g_string_append(str, ", ");
#ifdef HAVE_AIRPCAP
get_compiled_airpcap_version(str);
#else
g_string_append(str, "without AirPcap");
#endif
+#endif /* _WIN32 */
codec_get_compiled_version_info(str);
}
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index c48fa1d5d1..e6ef762854 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -236,12 +236,14 @@ get_gui_compiled_info(GString *str)
g_string_append(str, "without QtMultimedia");
#endif
+#ifdef _WIN32
g_string_append(str, ", ");
#ifdef HAVE_AIRPCAP
get_compiled_airpcap_version(str);
#else
g_string_append(str, "without AirPcap");
#endif
+#endif /* _WIN32 */
codec_get_compiled_version_info(str);
}