dect
/
libpcap
Archived
13
0
Fork 0

Fixed a conditional typedef that caused wpcap.dll not to compile with VC.

This commit is contained in:
risso 2004-04-06 13:30:22 +00:00
parent b7be31258d
commit b2656a7aa7
1 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* @(#) $Header: /tcpdump/master/libpcap/Win32/Include/ip6_misc.h,v 1.2 2002-08-02 13:59:03 risso Exp $ (LBL)
* @(#) $Header: /tcpdump/master/libpcap/Win32/Include/ip6_misc.h,v 1.3 2004-04-06 13:30:22 risso Exp $ (LBL)
*/
/*
@ -58,8 +58,12 @@ struct in6_addr
#endif /* __MINGW32__ */
#ifdef __MINGW32__
#if (defined WIN32) || (defined __MINGW32__)
typedef unsigned short sa_family_t;
#endif
#ifdef __MINGW32__
#define __SOCKADDR_COMMON(sa_prefix) \
sa_family_t sa_prefix##family