patch-1.3.19 linux/include/asm-mips/byteorder.h

Next file: linux/include/asm-sparc/bitops.h
Previous file: linux/include/asm-i386/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/include/asm-mips/byteorder.h linux/include/asm-mips/byteorder.h
@@ -7,11 +7,11 @@
 #undef htons
 
 #ifdef MIPSEL
-#define LITTLE_ENDIAN
-#define LITTLE_ENDIAN_BITFIELD
+#define __LITTLE_ENDIAN
+#define __LITTLE_ENDIAN_BITFIELD
 #elif MIPSEB
-#define BIG_ENDIAN
-#define BIG_ENDIAN_BITFIELD
+#define __BIG_ENDIAN
+#define __BIG_ENDIAN_BITFIELD
 #else
 #error "MIPS but neither MIPSEL nor MIPSEB?"
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this