pcap-stdinc.h (214518) | pcap-stdinc.h (235426) |
---|---|
1/* 2 * Copyright (c) 2002 - 2005 NetGroup, Politecnico di Torino (Italy) 3 * Copyright (c) 2005 - 2009 CACE Technologies, Inc. Davis (California) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * @(#) $Header: /tcpdump/master/libpcap/pcap-stdinc.h,v 1.10.2.1 2008-10-06 15:38:39 gianluca Exp $ (LBL) 32 */ 33#ifndef pcap_stdinc_h 34#define pcap_stdinc_h 35 | 1/* 2 * Copyright (c) 2002 - 2005 NetGroup, Politecnico di Torino (Italy) 3 * Copyright (c) 2005 - 2009 CACE Technologies, Inc. Davis (California) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * @(#) $Header: /tcpdump/master/libpcap/pcap-stdinc.h,v 1.10.2.1 2008-10-06 15:38:39 gianluca Exp $ (LBL) 32 */ 33#ifndef pcap_stdinc_h 34#define pcap_stdinc_h 35 |
36#define SIZEOF_CHAR 1 37#define SIZEOF_SHORT 2 38#define SIZEOF_INT 4 39#ifndef _MSC_EXTENSIONS 40#define SIZEOF_LONG_LONG 8 41#endif 42 | |
43/* 44 * Avoids a compiler warning in case this was already defined 45 * (someone defined _WINSOCKAPI_ when including 'windows.h', in order 46 * to prevent it from including 'winsock.h') 47 */ 48#ifdef _WINSOCKAPI_ 49#undef _WINSOCKAPI_ 50#endif --- 46 unchanged lines hidden --- | 36/* 37 * Avoids a compiler warning in case this was already defined 38 * (someone defined _WINSOCKAPI_ when including 'windows.h', in order 39 * to prevent it from including 'winsock.h') 40 */ 41#ifdef _WINSOCKAPI_ 42#undef _WINSOCKAPI_ 43#endif --- 46 unchanged lines hidden --- |