diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 02:53:26 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 02:53:26 +0000 |
commit | 601c52f0fb7d36599045e90a6baafe918997f644 (patch) | |
tree | 4ddecf128133922607a7f2d194c4d36601690f1e /ethereal.h | |
parent | 093f28c38214ac4389826e72e18bca01ff08956d (diff) |
Added support for compiling on win32 with Visual C and 'nmake'. It compiles,
but does not link. Perhaps someone who understands the MS tools can help
out. I made it link a few months ago, but with different version of glib/gtk+.
I can't remember how I made it link.
Most of the compatibility issues were resolved with adding
#ifdef HAVE_UNISTD_H the the source code. Please be sure to add this to all
future code.
svn path=/trunk/; revision=359
Diffstat (limited to 'ethereal.h')
-rw-r--r-- | ethereal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ethereal.h b/ethereal.h index ae6e53d5e5..5849e89601 100644 --- a/ethereal.h +++ b/ethereal.h @@ -1,7 +1,7 @@ /* ethereal.h * Global defines, etc. * - * $Id: ethereal.h,v 1.15 1999/06/24 16:25:59 gram Exp $ + * $Id: ethereal.h,v 1.16 1999/07/13 02:52:49 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -34,8 +34,11 @@ #define MONO_BOLD_FONT "-*-lucidatypewriter-bold-r-normal-*-*-120-*-*-*-*-iso8859-1" #define DEF_WIDTH 750 #define DEF_HEIGHT 550 +#ifdef HAVE_LIBPCAP #define DEF_READY_MESSAGE " Ready to load or capture" -#define EXTERNAL_FILTER "/usr/local/bin/ethereal_tcp_filter -f" +#else +#define DEF_READY_MESSAGE " Ready to load file" +#endif #define MIN_PACKET_SIZE 68 /* minimum amount of packet data we can read */ #define MAX_PACKET_SIZE 65535 /* maximum amount of packet data we can read */ |