summaryrefslogtreecommitdiff
path: root/ports/sysdeps/hppa/bits/endian.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-01 13:06:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-01 13:06:41 +0000
commite64ac02c24b43659048622714afdc92fedf561fa (patch)
tree37162878b72d302de351788bec4c9360c9d55f1d /ports/sysdeps/hppa/bits/endian.h
parenta20c2b3c87aebc7d4b090c622d36480263b80042 (diff)
Move all files into ports/ subdirectory in preparation for merge with glibc
Diffstat (limited to 'ports/sysdeps/hppa/bits/endian.h')
-rw-r--r--ports/sysdeps/hppa/bits/endian.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/sysdeps/hppa/bits/endian.h b/ports/sysdeps/hppa/bits/endian.h
new file mode 100644
index 0000000000..585db0c0fa
--- /dev/null
+++ b/ports/sysdeps/hppa/bits/endian.h
@@ -0,0 +1,7 @@
+/* hppa1.1 big-endian. */
+
+#ifndef _ENDIAN_H
+# error "Never use <bits/endian.h> directly; include <endian.h> instead."
+#endif
+
+#define __BYTE_ORDER __BIG_ENDIAN