summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/ffsti2.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/ffsti2.c')
-rw-r--r--contrib/compiler-rt/lib/ffsti2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/ffsti2.c b/contrib/compiler-rt/lib/ffsti2.c
index 27e15d5..e64266d 100644
--- a/contrib/compiler-rt/lib/ffsti2.c
+++ b/contrib/compiler-rt/lib/ffsti2.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: the index of the least significant 1-bit in a, or
* the value zero if a is zero. The least significant bit is index one.
@@ -34,4 +34,4 @@ __ffsti2(ti_int a)
return __builtin_ctzll(x.s.low) + 1;
}
-#endif /* __x86_64 */
+#endif /* CRT_HAS_128BIT */
OpenPOWER on IntegriCloud