aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-25 09:55:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-25 09:55:52 +0000
commit1314696bca5579646269bd496ad9099a908da70a (patch)
tree3776f7f65a222e4ecec41037e91a499d7bde1354 /color_filters.c
parent94960123ba03b71ce674e0b82ba04b54d985bbb1 (diff)
From Lars Roland: _NEED_VAR_IMPORT_ has to be defined so that variables
are imported correctly from libethereal.dll when compiling with MSVC. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11516 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/color_filters.c b/color_filters.c
index 891710347a..2fc0dd1d16 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -24,6 +24,11 @@
/*
* Updated 1 Dec 10 jjm
*/
+
+/* 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