patch-1.3.94 linux/include/asm-m68k/byteorder.h
Next file: linux/include/asm-m68k/checksum.h
Previous file: linux/include/asm-m68k/bugs.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Mar 31 01:09:52 1996
- Orig file:
v1.3.93/linux/include/asm-m68k/byteorder.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.93/linux/include/asm-m68k/byteorder.h linux/include/asm-m68k/byteorder.h
@@ -0,0 +1,14 @@
+#ifndef _M68K_BYTEORDER_H
+#define _M68K_BYTEORDER_H
+
+#ifdef __KERNEL__
+#define __BIG_ENDIAN
+#endif
+#define __BIG_ENDIAN_BITFIELD
+
+#define ntohl(x) x
+#define ntohs(x) x
+#define htonl(x) x
+#define htons(x) x
+
+#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