mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Use the same bits/endian.h for i386/x86_64
This commit is contained in:
parent
13764867fe
commit
f726f0bb75
@ -1,6 +1,10 @@
|
||||
2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #14117]
|
||||
* sysdeps/i386/bits/endian.h: Removed.
|
||||
* sysdeps/x86_64/bits/endian.h: Renamed to ...
|
||||
* sysdeps/x86/bits/endian.h: This.
|
||||
|
||||
* sysdeps/i386/bits/byteswap.h: Removed.
|
||||
* sysdeps/i386/bits/byteswap-16.h: Likewise.
|
||||
* sysdeps/x86_64/bits/byteswap.h: Renamed to ...
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* i386 is little-endian. */
|
||||
/* i386/x86_64 are little-endian. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
@ -1,7 +0,0 @@
|
||||
/* x86_64 is little-endian. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
Loading…
Reference in New Issue
Block a user