Use CRT_HAS_128BIT.
llvm-svn: 204182
diff --git a/compiler-rt/test/builtins/Unit/modti3_test.c b/compiler-rt/test/builtins/Unit/modti3_test.c
index bd05c72..ba9f980 100644
--- a/compiler-rt/test/builtins/Unit/modti3_test.c
+++ b/compiler-rt/test/builtins/Unit/modti3_test.c
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: a % b
ti_int __modti3(ti_int a, ti_int b);
@@ -47,7 +47,7 @@
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__modti3(0, 1, 0))
return 1;
if (test__modti3(0, -1, 0))