diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-06-13 20:40:31 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-06-13 20:40:31 +0000 |
commit | 8427afda657defce31d927567e58f71fb731ca74 (patch) | |
tree | 66595d5e9bfd61a6328a04e9d6429a3fdaba2b1c /util.c | |
parent | 538a164893ba47f091b8d0bc08f6cfac503086c8 (diff) |
On Win32, say "without WinPcap" rather than "without libpcap" (although
it's unlikely that somebody would build without WinPcap - they'd
currently have to manually tweak config.h.win32; we can do the same
trick there that we do with ADNS).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7877 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* util.c * Utility routines * - * $Id: util.c,v 1.64 2003/06/13 20:03:50 guy Exp $ + * $Id: util.c,v 1.65 2003/06/13 20:40:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -144,7 +144,11 @@ get_compiled_version_info(GString *str) #else /* HAVE_LIBPCAP */ g_string_append(str, " "); break_point = str->len - 1; +#ifdef WIN32 + g_string_append(str, "without WinPcap,"); +#else /* WIN32 */ g_string_append(str, "without libpcap,"); +#endif /* WIN32 */ do_word_wrap(str, break_point); #endif /* HAVE_LIBPCAP */ |