diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2009-05-08 19:53:41 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2009-05-08 19:53:41 +0000 |
commit | 0a101aacf6900356ba9291c859ba029d9006fb90 (patch) | |
tree | b77a4373ba3957f1c0b7effb9a82d534f037d1f9 /gtk | |
parent | 8e23d11ae533f9f67da23ca022fb5e0c31120416 (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.c | 7 |
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" |