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
diff --git a/lib/builtins/addvti3.c b/lib/builtins/addvti3.c
index 2efcf3b..f2a5c56 100644
--- a/lib/builtins/addvti3.c
+++ b/lib/builtins/addvti3.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: a + b */
@@ -37,4 +37,4 @@
return s;
}
-#endif
+#endif /* CRT_HAS_128BIT */