diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-08 22:29:18 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-08 22:29:18 +0000 |
commit | 2760e72d6826fc2215d9cf0d3bd2ae654d5138f5 (patch) | |
tree | 79438a0e5544a3df82768584a9c2e9fb366c0062 /capture_wpcap_packet.c | |
parent | 3ed6d362f104e96226d1bf0f8347e670f996aa87 (diff) |
fix compilation for:
- Visual Studio .NET (2002)
- Visual Studio .NET 2003
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20349 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_wpcap_packet.c')
-rw-r--r-- | capture_wpcap_packet.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/capture_wpcap_packet.c b/capture_wpcap_packet.c index 901e7f1b1d..fe9438fbc4 100644 --- a/capture_wpcap_packet.c +++ b/capture_wpcap_packet.c @@ -65,12 +65,11 @@ typedef unsigned short eth_sa_family_t; /* sockaddr_storage problem with different MSVC versions * - MSVC 6 (1200) doesn't define this - * - MSVC 7 (1300) unknown + * - MSVC 7 (1300) does * - MSVC 7.1 (1310) does * - MSVC 8 (1400) does */ /* we might need to tweak this #if, see version_info for _MSC_VER values */ -/* XXX - is this more of a Platform SDK issue? */ -#if _MSC_VER < 1310 +#if _MSC_VER < 1300 struct sockaddr_storage { eth_sa_family_t __ss_family; /* address family */ /* Following fields are implementation specific */ |