From 111c0b708ec2e6d3cb70a7a8d877ce36e68642fa Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Tue, 18 Mar 2014 21:35:30 +0000 Subject: Use CRT_HAS_128BIT. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204182 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/builtins/Unit/floattixf_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/builtins/Unit/floattixf_test.c') diff --git a/test/builtins/Unit/floattixf_test.c b/test/builtins/Unit/floattixf_test.c index 4a9dfb56a..ce3566867 100644 --- a/test/builtins/Unit/floattixf_test.c +++ b/test/builtins/Unit/floattixf_test.c @@ -11,12 +11,12 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include #include +#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__floattixf(0, 0.0)) return 1; -- cgit v1.2.1