aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2009-05-08 19:53:41 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2009-05-08 19:53:41 +0000
commit0a101aacf6900356ba9291c859ba029d9006fb90 (patch)
treeb77a4373ba3957f1c0b7effb9a82d534f037d1f9 /gtk
parent8e23d11ae533f9f67da23ca022fb5e0c31120416 (diff)
Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDK
svn path=/trunk/; revision=28314
Diffstat (limited to 'gtk')
-rw-r--r--gtk/capture_if_details_dlg_win32.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/capture_if_details_dlg_win32.c b/gtk/capture_if_details_dlg_win32.c
index caf2dcafc5..48f55e039b 100644
--- a/gtk/capture_if_details_dlg_win32.c
+++ b/gtk/capture_if_details_dlg_win32.c
@@ -55,8 +55,13 @@
/* issues re winsock.h included before winsock2.h ) */
#include <windowsx.h>
-#if (_MSC_VER > 1200)
+#ifdef HAVE_NTDDNDIS_H
#include <Ntddndis.h>
+/* VC 6.0 with SDK has the same Ntddndis.h as MSVC2003 */
+# if (_MSC_VER <= 1200)
+# undef _MSC_VER
+# define _MSC_VER 1310
+# endif
#endif
#include "../capture_wpcap_packet.h"