diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-04-04 13:48:11 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-04-04 13:48:11 -0700 |
commit | a1a7640419b309ea1286398e4d45dc006f46115f (patch) | |
tree | 43174e7ec654c00756f8c07736fcdc9c7edecefb /pcap-stdinc.h | |
parent | d7cf4017fbd37fb6d0a6c48ee86a40b5c95da29a (diff) |
Don't define or use any of the SIZEOF_ values.
We don't need or want them on UN*X (for one thing, we do fat builds on
OS X, and SIZEOF_LONG doesn't have the same value in ILP32 and LP64),
and don't need them on Windows, either (long is 32 bits in both Win32
and Win64).
Diffstat (limited to 'pcap-stdinc.h')
-rw-r--r-- | pcap-stdinc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pcap-stdinc.h b/pcap-stdinc.h index f025013..f1c736e 100644 --- a/pcap-stdinc.h +++ b/pcap-stdinc.h @@ -33,13 +33,6 @@ #ifndef pcap_stdinc_h #define pcap_stdinc_h -#define SIZEOF_CHAR 1 -#define SIZEOF_SHORT 2 -#define SIZEOF_INT 4 -#ifndef _MSC_EXTENSIONS -#define SIZEOF_LONG_LONG 8 -#endif - /* * Avoids a compiler warning in case this was already defined * (someone defined _WINSOCKAPI_ when including 'windows.h', in order |