From Lars Roland: _NEED_VAR_IMPORT_ has to be defined so that variables
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 25 Jul 2004 09:55:52 +0000 (09:55 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 25 Jul 2004 09:55:52 +0000 (09:55 +0000)
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

capture_combo_utils.c
color_filters.c

index 3fd4b536b01f5e5daac9fc24092c90547f74cb38..a086639b3b52fe60174a7da6a50863fd884e3b08 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+/* 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
index 891710347a9f4b132bf9f791fdbc6450450bb184..2fc0dd1d16b26943b852b287bab4c688ae1a3d5b 100644 (file)
 /*
  * 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