diff options
author | gonzo <gonzo@FreeBSD.org> | 2009-02-08 23:43:36 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2009-02-08 23:43:36 +0000 |
commit | f698c89aafcc8de9754500a5526c1e139a4fe0a2 (patch) | |
tree | dc75c5eabee65adb4d2e2df8f95407af60d1e70b /sys/mips | |
parent | fdc13c7097b6fdc980ce12b5290b5c0552c5c77e (diff) | |
download | FreeBSD-src-f698c89aafcc8de9754500a5526c1e139a4fe0a2.zip FreeBSD-src-f698c89aafcc8de9754500a5526c1e139a4fe0a2.tar.gz |
- Fix in_cksum for big-endian MIPS: use correct compile-time check.
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/in_cksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/in_cksum.c b/sys/mips/mips/in_cksum.c index 8b4fb94..f0c95d9 100644 --- a/sys/mips/mips/in_cksum.c +++ b/sys/mips/mips/in_cksum.c @@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$"); } static const u_int32_t in_masks[] = { -#ifndef _MISEB +#if _BYTE_ORDER == _LITTLE_ENDIAN /*0 bytes*/ /*1 byte*/ /*2 bytes*/ /*3 bytes*/ 0x00000000, 0x000000FF, 0x0000FFFF, 0x00FFFFFF, /* offset 0 */ 0x00000000, 0x0000FF00, 0x00FFFF00, 0xFFFFFF00, /* offset 1 */ |