diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/udivti3_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/udivti3_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/udivti3_test.c b/compiler-rt/test/builtins/Unit/udivti3_test.c index 09e0e1cf70d..af5aad9a391 100644 --- a/compiler-rt/test/builtins/Unit/udivti3_test.c +++ b/compiler-rt/test/builtins/Unit/udivti3_test.c @@ -11,11 +11,11 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> +#ifdef CRT_HAS_128BIT + // Returns: a / b tu_int __udivti3(tu_int a, tu_int b); @@ -45,7 +45,7 @@ int test__udivti3(tu_int a, tu_int b, tu_int expected_q) int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__udivti3(0, 1, 0)) return 1; if (test__udivti3(2, 1, 2)) |