diff --git a/app/localize/start.h b/app/localize/start.h index da32400c..59285ca9 100644 --- a/app/localize/start.h +++ b/app/localize/start.h @@ -76,6 +76,9 @@ #if defined(__x86_64__) # define TXTCPU "amd64" #endif +#if defined(__arm__) || defined(_M_ARM) +# define TXTCPU "ARM" +#endif #ifndef TXTCPU #error what cpu is this ?! //#define TXTCPU EMPTYSTRING diff --git a/lib/real/prim.h b/lib/real/prim.h index 8dcb57c8..f871e29a 100644 --- a/lib/real/prim.h +++ b/lib/real/prim.h @@ -80,8 +80,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int #define __IEEE_BIG_ENDIAN #endif -#if defined(ARMCPU) || defined(__arm__) -#define __IEEE_BIG_ENDIAN +#if defined(ARMCPU) || defined(__arm__) || defined(_M_ARM) +#define __IEEE_LITTLE_ENDIAN #endif #ifndef __IEEE_BIG_ENDIAN