dect
/
libpcap
Archived
13
0
Fork 0

Test both for "sparc" and "__sparc__" in the case where LBL_ALIGN isn't

defined - Debian bug 171210 says that "sparc" isn't defined by GCC,
which presumably means "with the compiler we're using on Debian" as
there are versions of GCC that *do* define "sparc" on SPARC.
This commit is contained in:
guy 2003-01-10 09:14:07 +00:00
parent 3150af88f7
commit d4e32467f8
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
#if !(defined(lint) || defined(KERNEL) || defined(_KERNEL))
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.38 2002-08-02 03:44:22 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.39 2003-01-10 09:14:07 guy Exp $ (LBL)";
#endif
#ifdef WIN32
@ -77,7 +77,7 @@ static const char rcsid[] =
#define u_int32 bpf_u_int32
#ifndef LBL_ALIGN
#if defined(sparc) || defined(mips) || defined(ibm032) || \
#if defined(sparc) || define(__sparc__) || defined(mips) || defined(ibm032) || \
defined(__alpha) || defined(__hpux)
#define LBL_ALIGN
#endif