From 938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80 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. llvm-svn: 201909 --- compiler-rt/lib/builtins/ashlti3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler-rt/lib/builtins/ashlti3.c') diff --git a/compiler-rt/lib/builtins/ashlti3.c b/compiler-rt/lib/builtins/ashlti3.c index 4bd8219b527..08d2181d47d 100644 --- a/compiler-rt/lib/builtins/ashlti3.c +++ b/compiler-rt/lib/builtins/ashlti3.c @@ -14,7 +14,7 @@ #include "int_lib.h" -#if __x86_64 +#ifdef CRT_HAS_128BIT /* Returns: a << b */ @@ -42,4 +42,4 @@ __ashlti3(ti_int a, si_int b) return result.all; } -#endif /* __x86_64 */ +#endif /* CRT_HAS_128BIT */ -- cgit v1.2.3