diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/popcountti2_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/popcountti2_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/popcountti2_test.c b/compiler-rt/test/builtins/Unit/popcountti2_test.c index 1b94a0c6aa5..d17e03afd66 100644 --- a/compiler-rt/test/builtins/Unit/popcountti2_test.c +++ b/compiler-rt/test/builtins/Unit/popcountti2_test.c @@ -11,12 +11,12 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> #include <stdlib.h> +#ifdef CRT_HAS_128BIT + // Returns: count of 1 bits si_int __popcountti2(ti_int a); @@ -50,7 +50,7 @@ char assumption_2[sizeof(di_int)*CHAR_BIT == 64] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__popcountti2(0)) return 1; if (test__popcountti2(1)) |