Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.
Use it to enable the various functions for TI mode.
llvm-svn: 201909
diff --git a/compiler-rt/lib/builtins/multi3.c b/compiler-rt/lib/builtins/multi3.c
index 0b8730f..85a6cf4 100644
--- a/compiler-rt/lib/builtins/multi3.c
+++ b/compiler-rt/lib/builtins/multi3.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: a * b */
@@ -55,4 +55,4 @@
return r.all;
}
-#endif /* __x86_64 */
+#endif /* CRT_HAS_128BIT */