mirror of https://gitlab.com/rnger/amath
Fix PowerPC build
This commit is contained in:
parent
aeb7f2e92c
commit
f8cf191a46
|
@ -106,7 +106,7 @@ int __kernel_rem_pio2(double* x, double* y, int e0, int nx, int prec, const int*
|
||||||
/* Detect other BE CPUs */
|
/* Detect other BE CPUs */
|
||||||
#if !defined(__IEEE_LITTLE_ENDIAN) && !defined(__IEEE_BIG_ENDIAN)
|
#if !defined(__IEEE_LITTLE_ENDIAN) && !defined(__IEEE_BIG_ENDIAN)
|
||||||
#if defined(PPCCPU) || defined(__PPC__) || \
|
#if defined(PPCCPU) || defined(__PPC__) || \
|
||||||
defined(__powerpc__) || defined(__powerpc64__) \
|
defined(__powerpc__) || defined(__powerpc64__) || \
|
||||||
defined(__mips__) || defined(__mips)
|
defined(__mips__) || defined(__mips)
|
||||||
#define __IEEE_BIG_ENDIAN
|
#define __IEEE_BIG_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue