diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/floatuntixf_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/floatuntixf_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/floatuntixf_test.c b/compiler-rt/test/builtins/Unit/floatuntixf_test.c index fc7531a9c82..9c3434fdde0 100644 --- a/compiler-rt/test/builtins/Unit/floatuntixf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntixf_test.c @@ -11,12 +11,12 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <float.h> #include <stdio.h> +#ifdef CRT_HAS_128BIT + // Returns: convert a to a long double, rounding toward even. // Assumption: long double is a IEEE 80 bit floating point type padded to 128 bits @@ -48,7 +48,7 @@ char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__floatuntixf(0, 0.0)) return 1; |