From 9cee42f10dbc5b33866ff137b926a74abd7c1a5b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 1 Mar 2002 20:46:26 +0000 Subject: Major rework of the include files to eliminate redundancy and to better support each arch. This is a really big patch... -Erik --- libc/sysdeps/linux/common/bits/endian.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libc/sysdeps/linux/common/bits/endian.h (limited to 'libc/sysdeps/linux/common/bits/endian.h') diff --git a/libc/sysdeps/linux/common/bits/endian.h b/libc/sysdeps/linux/common/bits/endian.h new file mode 100644 index 000000000..45afd4ae4 --- /dev/null +++ b/libc/sysdeps/linux/common/bits/endian.h @@ -0,0 +1,13 @@ +/* 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 bits/endian.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 bits/endian.h file for that machine must exist. */ + +#ifndef _ENDIAN_H +# error "Never use directly; include instead." +#endif + +#error Machine byte order unknown. -- cgit v1.2.3