diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-01-08 22:29:18 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-01-08 22:29:18 +0000 |
commit | e71b416608e67a268fabd82ab815e538862eb746 (patch) | |
tree | 79438a0e5544a3df82768584a9c2e9fb366c0062 /capture_wpcap_packet.c | |
parent | 39956903b5a30268a830851cc21fc397e23e2128 (diff) | |
download | wireshark-e71b416608e67a268fabd82ab815e538862eb746.tar.gz wireshark-e71b416608e67a268fabd82ab815e538862eb746.tar.bz2 wireshark-e71b416608e67a268fabd82ab815e538862eb746.zip |
fix compilation for:
- Visual Studio .NET (2002)
- Visual Studio .NET 2003
svn path=/trunk/; revision=20349
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 */ |