Ethereal-dev: Re: [Ethereal-dev] enabling libethereal.dll with MSVC (update)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <Lars.Roland@xxxxxxx>
Date: Sun, 09 May 2004 14:16:22 +0200
Guy Harris wrote:

Checked in, with changes to reflect the fact that there's no longer an
"epan/config.h".  Tested on FreeBSD 3.4; not tested on Windows.

Thank you. Attached are a few small patches to make current cvs version compile with MSVC.

Regards,

Lars
Index: Makefile.nmake
===================================================================
RCS file: /cvsroot/ethereal/epan/Makefile.nmake,v
retrieving revision 1.40
diff -u -r1.40 Makefile.nmake
--- Makefile.nmake	9 May 2004 10:03:40 -0000	1.40
+++ Makefile.nmake	9 May 2004 12:01:11 -0000
@@ -58,8 +58,6 @@
 	tvbuff.obj       \
 	value_string.obj
 
-all: ftypes dfilter ethereal.lib
-
 !IFDEF ENABLE_LIBETHEREAL
 all: ftypes dfilter libethereal.dll
 !ELSE
Index: libethereal.def
===================================================================
RCS file: /cvsroot/ethereal/epan/libethereal.def,v
retrieving revision 1.1
diff -u -r1.1 libethereal.def
--- libethereal.def	9 May 2004 10:03:40 -0000	1.1
+++ libethereal.def	9 May 2004 12:01:13 -0000
@@ -243,6 +243,7 @@
 get_dissector_table_base
 get_dissector_table_selector_type
 get_dissector_table_ui_name
+get_ether_name
 get_hostname
 get_hostname6
 get_persconffile_path