From Lars Roland: define _NEED_VAR_IMPORT_ in dftest.c to make linking
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2004 01:53:02 +0000 (01:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2004 01:53:02 +0000 (01:53 +0000)
with libethereal.dll work again.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12180 f5534014-38df-0310-8fa8-9805f1628bb7

dftest.c

index 2eae86cac948b469ed9510cf10f5c5b8fae9fdcb..474e7a8ece17a00e36a7291b760e6e9a41c3be3b 100644 (file)
--- a/dftest.c
+++ b/dftest.c
  * along with this program; if not, write to the Free Software
  * 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"