mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
19 lines
654 B
Diff
19 lines
654 B
Diff
diff -urN a/bytesex.h b/bytesex.h
|
|
--- a/bytesex.h 2003-08-31 11:23:48.000000000 -0600
|
|
+++ b/bytesex.h 2012-11-17 13:19:37.316298605 -0700
|
|
@@ -9,11 +9,15 @@
|
|
|
|
#if defined(__i386__) \
|
|
|| defined(__alpha__) \
|
|
+ || defined(__x86_64__) \
|
|
+ || defined(__ia64__) \
|
|
+ || defined(__arm__) || defined(__AARCH64EL__) \
|
|
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
|
|
#define BYTE_ORDER_LITTLE_ENDIAN
|
|
#elif defined(__mc68000__) \
|
|
|| defined (__sparc__) \
|
|
|| defined (__sparc) \
|
|
+ || defined (__hppa__) \
|
|
|| defined (__PPC__) \
|
|
|| defined (__BIG_ENDIAN__) \
|
|
|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
|