diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/muloti4_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/muloti4_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/muloti4_test.c b/compiler-rt/test/builtins/Unit/muloti4_test.c index 44abddf26ba..95439a4197a 100644 --- a/compiler-rt/test/builtins/Unit/muloti4_test.c +++ b/compiler-rt/test/builtins/Unit/muloti4_test.c @@ -11,11 +11,11 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> +#ifdef CRT_HAS_128BIT + // Returns: a * b // Effects: sets overflow if a * b overflows @@ -67,7 +67,7 @@ int test__muloti4(ti_int a, ti_int b, ti_int expected, int expected_overflow) int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__muloti4(0, 0, 0, 0)) return 1; if (test__muloti4(0, 1, 0, 0)) |