X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/34e8f8296870d0e8695f90e1a54240a589d41312..2650fa9ee9806a25904566dea091b1225d74f063:/gdtoa/arith.h?ds=sidebyside diff --git a/gdtoa/arith.h b/gdtoa/arith.h index 688a121..f60614a 100644 --- a/gdtoa/arith.h +++ b/gdtoa/arith.h @@ -25,28 +25,23 @@ * and spliced together for the different architectures. */ -#if defined(__ppc__) -#define IEEE_MC68k -#define Arith_Kind_ASL 2 -#define Double_Align -#elif defined(__ppc64__) -#define IEEE_MC68k -#define Arith_Kind_ASL 2 -#define Double_Align -#define Long int -#elif defined(__i386__) +#if defined(__i386__) #define IEEE_8087 #define Arith_Kind_ASL 1 #elif defined(__x86_64__) #define IEEE_8087 #define Arith_Kind_ASL 1 #define Long int +#define Intcast (int)(long) +#define Double_Align +#define X64_bit_pointers #elif defined(__arm__) #if __VFP_FP__ #define IEEE_8087 #else #define IEEE_MC68k #endif +#define Arith_Kind_ASL 1 #else #error Unsupported architecture #endif