aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-02 01:53:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-02 01:53:02 +0000
commit0c2ee8eb370d51ed59acf542dce18f6ade7a882b (patch)
treefb754c9221175e0e070ac4c170dd3b803e5c36fe /dftest.c
parent1ae821a270f97eb857e5888169658f1f5b28cdfe (diff)
From Lars Roland: define _NEED_VAR_IMPORT_ in dftest.c to make linking
with libethereal.dll work again. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12180 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dftest.c b/dftest.c
index 2eae86cac9..474e7a8ece 100644
--- a/dftest.c
+++ b/dftest.c
@@ -22,6 +22,10 @@
* 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"