From 4733ccad998af454f8f4deca9f371326eb74458f Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 21 Feb 2014 23:53:03 +0000 Subject: Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms. Use it to enable the various functions for TI mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201909 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/builtins/floatuntisf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/builtins/floatuntisf.c') diff --git a/lib/builtins/floatuntisf.c b/lib/builtins/floatuntisf.c index c8da2601b..e65db57f1 100644 --- a/lib/builtins/floatuntisf.c +++ b/lib/builtins/floatuntisf.c @@ -14,7 +14,7 @@ #include "int_lib.h" -#if __x86_64 +#ifdef CRT_HAS_128BIT /* Returns: convert a to a float, rounding toward even. */ @@ -78,4 +78,4 @@ __floatuntisf(tu_int a) return fb.f; } -#endif +#endif /* CRT_HAS_128BIT */ -- cgit v1.2.3