diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/divti3_test.c')
| -rw-r--r-- | compiler-rt/test/builtins/Unit/divti3_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/divti3_test.c b/compiler-rt/test/builtins/Unit/divti3_test.c index 7c8e2970fa6..bc81c2a5418 100644 --- a/compiler-rt/test/builtins/Unit/divti3_test.c +++ b/compiler-rt/test/builtins/Unit/divti3_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 __divti3(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__divti3(0, 1, 0)) return 1; if (test__divti3(0, -1, 0)) |

