diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 14:50:32 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 14:50:32 -0700 |
commit | f726f0bb75f930c46bbd3b2ce81c29fa28c6292b (patch) | |
tree | de113f771489ceb830b476f17e7eaa00b30a8fff /sysdeps/x86 | |
parent | 13764867feabae242e5a21d4ceee38d3648d1b62 (diff) | |
download | glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.gz glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.xz glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.zip |
Use the same bits/endian.h for i386/x86_64
Diffstat (limited to 'sysdeps/x86')
-rw-r--r-- | sysdeps/x86/bits/endian.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/x86/bits/endian.h b/sysdeps/x86/bits/endian.h new file mode 100644 index 0000000000..5a56c726f7 --- /dev/null +++ b/sysdeps/x86/bits/endian.h @@ -0,0 +1,7 @@ +/* i386/x86_64 are little-endian. */ + +#ifndef _ENDIAN_H +# error "Never use <bits/endian.h> directly; include <endian.h> instead." +#endif + +#define __BYTE_ORDER __LITTLE_ENDIAN |