diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/floattidf_test.c')
| -rw-r--r-- | compiler-rt/test/builtins/Unit/floattidf_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/floattidf_test.c b/compiler-rt/test/builtins/Unit/floattidf_test.c index cfe40849960..476304f96f1 100644 --- a/compiler-rt/test/builtins/Unit/floattidf_test.c +++ b/compiler-rt/test/builtins/Unit/floattidf_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 double, rounding toward even. // Assumption: double is a IEEE 64 bit floating point type @@ -47,7 +47,7 @@ char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__floattidf(0, 0.0)) return 1; |

