diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/modti3_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/modti3_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/modti3_test.c b/compiler-rt/test/builtins/Unit/modti3_test.c index bd05c7237d2..ba9f9804dfc 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 @@ char assumption_1[sizeof(ti_int) == 2*sizeof(di_int)] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__modti3(0, 1, 0)) return 1; if (test__modti3(0, -1, 0)) |