biology/mothur: fix build on powerpc64le

New PPC hardware usually uses little-endian systems. Let __BIG_ENDIAN__ and __LITTLE_ENDIAN__ define endianness.
This commit is contained in:
Piotr Kubaj 2020-10-19 10:30:11 +00:00
parent 70a647577f
commit 1fd667b477
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552729

View File

@ -0,0 +1,19 @@
--- source/endiannessmacros.h.orig 2020-10-19 10:22:23 UTC
+++ source/endiannessmacros.h
@@ -53,16 +53,6 @@
# define SP_BIG_ENDIAN
#endif
-/*
- * PowerPC
- */
-#if defined(__ppc__) || defined(__ppc)
-# if defined(SP_LITTLE_ENDIAN)
-# undef SP_LITTLE_ENDIAN
-# endif
-# define SP_BIG_ENDIAN
-#endif
-
/* Some catch-alls */
#if defined(__LITTLE_ENDIAN__) || defined(__LITTLEENDIAN__)
# define SP_LITTLE_ENDIAN