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>
This commit is contained in:
João Valverde 2017-10-22 14:16:53 +01:00 committed by João Valverde
parent 182d9deb08
commit 6e3133c41c
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}