PKGBUILDs/community/hping/bytesex.h.patch

20 lines
654 B
Diff
Raw Normal View History

2012-11-18 01:20:45 +00:00
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__) \
2016-01-08 02:36:49 +00:00
+ || defined(__arm__) || defined(__AARCH64EL__) \
2012-11-18 01:20:45 +00:00
|| (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__)))