about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-30 14:50:32 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-30 14:50:32 -0700
commitf726f0bb75f930c46bbd3b2ce81c29fa28c6292b (patch)
treede113f771489ceb830b476f17e7eaa00b30a8fff /sysdeps
parent13764867feabae242e5a21d4ceee38d3648d1b62 (diff)
downloadglibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.gz
glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.tar.xz
glibc-f726f0bb75f930c46bbd3b2ce81c29fa28c6292b.zip
Use the same bits/endian.h for i386/x86_64
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86/bits/endian.h (renamed from sysdeps/i386/bits/endian.h)2
-rw-r--r--sysdeps/x86_64/bits/endian.h7
2 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/i386/bits/endian.h b/sysdeps/x86/bits/endian.h
index 54bd9d14bb..5a56c726f7 100644
--- a/sysdeps/i386/bits/endian.h
+++ b/sysdeps/x86/bits/endian.h
@@ -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."
diff --git a/sysdeps/x86_64/bits/endian.h b/sysdeps/x86_64/bits/endian.h
deleted file mode 100644
index 2f59eada25..0000000000
--- a/sysdeps/x86_64/bits/endian.h
+++ /dev/null
@@ -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