diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1994-12-01 08:00:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1994-12-01 08:00:00 +0000 |
commit | 90ecc248e200fee448001248dde0ca540dd3ef64 (patch) | |
tree | a3fe89494ce63b4835f0f9cf5c45e74cde88252b /include/linux/inet.h | |
parent | 1513ff9b7899ab588401c89db0e99903dbf5f886 (diff) |
Import of Linux/MIPS 1.1.68
Diffstat (limited to 'include/linux/inet.h')
-rw-r--r-- | include/linux/inet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/inet.h b/include/linux/inet.h index d8511a7ce..fbddc4e1f 100644 --- a/include/linux/inet.h +++ b/include/linux/inet.h @@ -42,11 +42,11 @@ #ifndef _LINUX_INET_H #define _LINUX_INET_H -#if defined(__i386__) +#if defined (__i386__) || defined (__MIPSEL__) #define NET16(x) ((((x) >> 8) & 0x00FF) | (((x) << 8) & 0xFF00)) -#elif defined(__mc68000__) +#elif #if defined (__mc680x0__) || defined (__MIPSEB__) #define NET16(x) (x) -#elif defined(__alpha__) +#elif defined (__alpha__) #define NET16(x) ((((x) >> 8) & 0x00FF) | (((x) << 8) & 0xFF00)) #else #error change this to match your machine |