summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bits/endian.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-12 10:16:05 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-12 10:16:05 +0000
commit77879554671206102471bb282accb3251395d151 (patch)
tree4bc8854140028577b324e3ddaf05d043744618a3 /libc/sysdeps/linux/m68k/bits/endian.h
parente4492b9c21b645018b2d7702665be8c1eb4a1b5c (diff)
Thanks to James Graves <jgraves@deltamobile.com>, we now have
a first pass at getting m68k working. It may have some problems, but should now be fairly close.
Diffstat (limited to 'libc/sysdeps/linux/m68k/bits/endian.h')
-rw-r--r--libc/sysdeps/linux/m68k/bits/endian.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/endian.h b/libc/sysdeps/linux/m68k/bits/endian.h
new file mode 100644
index 000000000..bf4ecb60a
--- /dev/null
+++ b/libc/sysdeps/linux/m68k/bits/endian.h
@@ -0,0 +1,7 @@
+/* m68k is big-endian. */
+
+#ifndef _ENDIAN_H
+# error "Never use <bits/endian.h> directly; include <endian.h> instead."
+#endif
+
+#define __BYTE_ORDER __BIG_ENDIAN