aboutsummaryrefslogtreecommitdiffstats
path: root/tap-wspstat.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-09 10:03:41 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-09 10:03:41 +0000
commit7b627e9908b35102db534323f22494f1bf96ba9e (patch)
tree96fab6287a112ff9379ebf012a7a939884b62ec1 /tap-wspstat.c
parent6431bbd77fb1aeddb8a0245244d3ac29005e293d (diff)
From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build libethereal.dll or not; remove "./wiretap" from PATH to prevent problems due to wrongly-loaded files; build dissector.lib with MSVC; move "print.c" and "ps.c" to the dissector helpers, as "print.c" imports variables from packet-frame.c and packet-data.c, which are in libethereal; move "g711.c" out of the dissector helpers, as they're used only by Ethereal in a tap, not in Tethereal or in any dissector; add a .def file for libethereal; arrange to declare global variables exported from libethereal with "__declspec(dllimport)" when building programs that import those variables; update the NSIS installer. Make the "configure" script define ETH_VAR_IMPORT as "extern". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10834 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-wspstat.c')
-rw-r--r--tap-wspstat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tap-wspstat.c b/tap-wspstat.c
index a9ddfd38b7..7aff157f1c 100644
--- a/tap-wspstat.c
+++ b/tap-wspstat.c
@@ -1,7 +1,7 @@
/* tap-rpcstat.c
* wspstat 2003 Jean-Michel FAYARD
*
- * $Id: tap-wspstat.c,v 1.3 2003/12/10 22:27:41 obiot Exp $
+ * $Id: tap-wspstat.c,v 1.4 2004/05/09 10:03:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -27,6 +27,10 @@
*
*/
+/* With MSVC and a libethereal.dll this file needs to import some variables
+ in a special way. Therefore _NEED_VAR_IMPORT_ is defined. */
+#define _NEED_VAR_IMPORT_
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif