diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/ucmpti2_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/ucmpti2_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/ucmpti2_test.c b/compiler-rt/test/builtins/Unit/ucmpti2_test.c index 55f820b89f2..0713da8971a 100644 --- a/compiler-rt/test/builtins/Unit/ucmpti2_test.c +++ b/compiler-rt/test/builtins/Unit/ucmpti2_test.c @@ -11,11 +11,11 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> +#ifdef CRT_HAS_128BIT + // Returns: if (a < b) returns 0 // if (a == b) returns 1 // if (a > b) returns 2 @@ -42,7 +42,7 @@ int test__ucmpti2(tu_int a, tu_int b, si_int expected) int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__ucmpti2(0, 0, 1)) return 1; if (test__ucmpti2(1, 1, 1)) |