about summary refs log tree commit diff
path: root/sysdeps/stub/bytesex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/bytesex.h')
-rw-r--r--sysdeps/stub/bytesex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/stub/bytesex.h b/sysdeps/stub/bytesex.h
new file mode 100644
index 0000000000..238a082bad
--- /dev/null
+++ b/sysdeps/stub/bytesex.h
@@ -0,0 +1,9 @@
+/* This file should define __BYTE_ORDER as appropriate for the machine
+   in question.  See string/endian.h for how to define it.
+
+   If only the stub bytesex.h applies to a particular configuration,
+   bytesex.h is generated by running a program on the host machine.
+   So if cross-compiling to a machine with a different byte order,
+   the bytesex.h file for that machine must exist.  */
+
+#error Machine byte order unknown.